package utils

import (
	"encoding/base64"
	"encoding/json"
	"fmt"
	"gitee.com/wengo/go-mamba"
	http "github.com/Danny-Dasilva/fhttp"
	"github.com/tidwall/gjson"
	"io/ioutil"
	"path"
	"strconv"
	"strings"
	"time"
)

type Cookie struct {
	Domain   string `json:"domain"`
	Secure   bool   `json:"secure"`
	Value    string `json:"value"`
	Expiry   int64  `json:"expiry"`
	Path     string `json:"path"`
	HTTPOnly bool   `json:"httpOnly"`
	Name     string `json:"name"`
}

type User struct {
	HttpCookies  []*http.Cookie
	Emailaddress string `json:"emailaddress"`
	Password     string `json:"password"`
	Name         string `json:"name"`
	Cookies      string `json:"cookie"`
	//Account     Account `json:"account"`
	//Address     Address    `json:"address"`
	//CreditCard  CreditCard `json:"credit_card"`
}

type Account struct {
	Emailaddress string `json:"emailaddress"`
	Password     string `json:"password"`
	Name         string `json:"name"`
	Cookies      string `json:"cookie"`
}

type RegisterAccount struct {
	Email    string `json:"email"`
	Password string `json:"password"`
	Name     string `json:"name"`
}

type Address struct {
	AddressID string `json:"address_id"`
	Recipient string `json:"recipient"`
	BuyID     string `json:"buy_id"`
	Address1  string `json:"address_1"`
	Address2  string `json:"address_2"`
	State     string `json:"state"`
	City      string `json:"city"`
	ZipCode   string `json:"zip_code"`
	Country   string `json:"country"`
	Phone     string `json:"phone"`
}

type CreditCard struct {
	Name           string `json:"name"`
	CreditCardID   string `json:"credit_card_id"`
	CreditCardType string `json:"credit_card_type"`
	CardNo         string `json:"card_no"`
	Cvv            string `json:"cvv"`
	ValidPeriod    string `json:"valid_period"`
}

type Cheque struct {
	Name          string `json:"name"`
	RoutingNumber string `json:"routingNumber"`
	SocialNumber  string `json:"stateIssuedID"`
	ChequeNumber  string `json:"number"`
	State         string `json:"state"`
}

type ZipCode struct {
	ZipCode string `json:"zip_code"`
}

type Api struct {
	client *mamba.Client
}

type ProxyInfo struct {
	Code int `json:"Code"`
	Data []struct {
		IP       string `json:"IP"`
		Port     string `json:"port"`
		Deadline string `json:"deadline"`
		Host     string `json:"host"`
	} `json:"Data"`
	Num    int    `json:"Num"`
	Msg    string `json:"Msg"`
	TaskID string `json:"TaskID"`
}

//type BingAddress struct {
//	Type                   string `json:"_type"`
//	ID                     string `json:"id"`
//	ReadLink               string `json:"readLink"`
//	EntityPresentationInfo struct {
//		EntityScenario     string   `json:"entityScenario"`
//		EntitySubTypeHints []string `json:"entitySubTypeHints"`
//	} `json:"entityPresentationInfo"`
//	StreetAddress    string `json:"streetAddress"`
//	AddressLocality  string `json:"addressLocality"`
//	AddressSubregion string `json:"addressSubregion"`
//	AddressRegion    string `json:"addressRegion"`
//	PostalCode       string `json:"postalCode"`
//	AddressCountry   string `json:"addressCountry"`
//	CountryIso       string `json:"countryIso"`
//	Text             string `json:"text"`
//	FormattingRuleID string `json:"formattingRuleId"`
//}

type BingAddress struct {
	AddressLocality  string `json:"addressLocality"`
	AddressSubregion string `json:"addressSubregion"`
	AddressRegion    string `json:"addressRegion"`
	PostalCode       string `json:"postalCode"`
	AddressCountry   string `json:"addressCountry"`
	CountryIso       string `json:"countryIso"`
	Text             string `json:"text"`
}

const captchaUsername = "wengo"
const captchaPassword = "2260375"
const captchaType = 1016 //1016

const systemEndpoint = `http://121.40.28.56/topamazon/http2acswoole.php`
const captchaRecognitionEndpoint = `http://www.bingtop.com/ocr/upload/`
const captchaReportEndpoint = `http://www.bingtop.com/ocr/report/`

func NewApi() *Api {
	client := mamba.New()
	client.SetDebug(false)
	client.SetDebugBodyLimit(0)
	client.SetRetryCount(10)
	return &Api{
		client: client,
	}
}

//var number = "48a1d08933297cac171911ad3e4a7e75" //德国
//var number = "5958c386bf5e9109ac10d2a628645aea" //美国

func (s *Api) request(endpoint, method string, query, data map[string]string) string {
	var resp *mamba.Response

	request := s.client.R()
	request.SetHeaders(map[string]string{
		"user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.64 Safari/537.36 Edg/101.0.1210.47",
	})

	if data != nil {
		request.SetFormData(data)
	}

	if query != nil {
		request.SetQueryParams(query)
	}

	if method == "post" {
		//postData, _ := json.Marshal(data)
		//
		//resp, _ := s.client.R().SetFormData(map[string]string{
		//	"data": string(postData),
		//}).Post(endpoint)
		resp, _ = request.Post(endpoint)
	} else {
		resp, _ = request.Get(endpoint)
	}

	return resp.String()
}

// 获取登录加购任务
func (s *Api) GetTaskList(number, version string, reset bool) string {
	postData, _ := json.Marshal(map[string]string{
		"action": "getLoginAddCartTaskList",
		//"number": "5958c386bf5e9109ac10d2a628645aea",
		//"code":    "us",
		"number": number,
		//"code":    code,
		"version": version,
		"reset":   strconv.FormatBool(reset),
	})

	return s.request(systemEndpoint, "post", nil, map[string]string{
		"data": string(postData),
	})
}

func (s *Api) EndFeedBack(number, task_ids string, success int) {
	postData, _ := json.Marshal(map[string]string{
		"action":   "endFeedBack",
		"number":   number,
		"task_ids": task_ids,
		//"version":  "4.10",
		"version": "4.9",
		"success": strconv.Itoa(success),
	})

	s.request(systemEndpoint, "post", nil, map[string]string{
		"data": string(postData),
	})
}

// 获取登录加购任务
func (s *Api) GetTaskTotal(number string) string {
	postData, _ := json.Marshal(map[string]string{
		"action": "getLoginAddCartBindTaskTotal",
		//"number": "5958c386bf5e9109ac10d2a628645aea",
		//"code":    "us",
		"number": number,
		//"code":    code,
		"version": "4.9",
	})

	return s.request(systemEndpoint, "post", nil, map[string]string{
		"data": string(postData),
	})
}

func (s *Api) GetMachineInfo(number string) string {
	postData, _ := json.Marshal(map[string]string{
		"action": "getMachineInfo",
		//"number": "5958c386bf5e9109ac10d2a628645aea",
		//"code":    "us",
		"number": number,
		//"code":    code,
		"version": "4.8",
	})

	return s.request(systemEndpoint, "post", nil, map[string]string{
		"data": string(postData),
	})
}

// 获取检查价格任务
func (s *Api) GetCheckPriceTask(limit int) (task map[string]interface{}) {

	s.request(systemEndpoint, "post", nil, map[string]string{
		"action": "getTask",
		"limit":  strconv.Itoa(limit),
	})

	//json.Unmarshal(resp.Body(), &task)

	return
}

func (s *Api) FeedBackCheckPriceTask(task, html string) (feedback map[string]interface{}) {
	client := GetHttpClient(nil, nil, "", "")
	resp, _ := client.R().SetFormData(map[string]string{
		"action": "feedback",
		"html":   html,
		"task":   task,
	}).Post(CheckPriceEndpoint)

	json.Unmarshal(resp.Body(), &feedback)

	return
}

func (s *Api) GetCookies(code, number string) (user *User, err error) {
	//postData, _ := json.Marshal(map[string]string{
	//	"action": "getCookie",
	//	"code":   code,
	//	"number": number,
	//	//"version": "4.8",
	//	"version": "4.9",
	//})
	//
	//result := s.request(systemEndpoint, "post", nil, map[string]string{
	//	"data": string(postData),
	//})

	//palmerbollman@gmail.com 这两个可以复用
	//arlamills774@gmail.com 这两个可以复用
	/*
				【系统提示】 2022-08-07 00:46:06: wemyssp1428644@zzmail.top -> 邮箱地址 -> wemyssp1428644@zzmail.top
				【系统提示】 2022-08-07 00:46:06: wemyssp1428644@zzmail.top -> 用户密码 -> MG7c{EK}n*vySd
				【系统提示】 2022-08-07 00:46:07: wemyssp1428644@zzmail.top -> [{"Name":"i18n-prefs","Value":"USD","Path":"\/","Domain":"amazon.com","Expires":"2023-08-05T13:15:25Z","RawExpires":"","MaxAge":0,"Secure":false,"HttpOnly":false,"SameSite":0,"Raw":"","Unparsed":null},{"Name":"session-id","Value":"146-9554100-9243666","Path":"\/","Domain":"amazon.com","Expires":"2023-08-05T13:15:41Z","RawExpires":"","MaxAge":0,"Secure":true,"HttpOnly":false,"SameSite":0,"Raw":"","Unparsed":null},{"Name":"session-id-time","Value":"2290425341l","Path":"\/","Domain":"amazon.com","Expires":"2023-08-05T13:15:41Z","RawExpires":"","MaxAge":0,"Secure":true,"HttpOnly":false,"SameSite":0,"Raw":"","Unparsed":null},{"Name":"skin","Value":"noskin","Path":"\/","Domain":"amazon.com","Expires":"9999-12-31T23:59:59Z","RawExpires":"","MaxAge":0,"Secure":false,"HttpOnly":false,"SameSite":0,"Raw":"","Unparsed":null},{"Name":"sp-cdn","Value":"L5Z9:CN","Path":"\/","Domain":"amazon.com","Expires":"2023-08-05T21:14:29.1599892+08:00","RawExpires":"","MaxAge":0,"Secure":true,"HttpOnly":true,"SameSite":0,"Raw":"","Unparsed":null},{"Name":"ubid-main","Value":"135-5686293-4832443","Path":"\/","Domain":"amazon.com","Expires":"2023-08-05T13:15:41Z","RawExpires":"","MaxAge":0,"Secure":true,"HttpOnly":false,"SameSite":0,"Raw":"","Unparsed":null},{"Name":"session-token","Value":"+16P1xFS0E9KXWABsGuCZz6Dim9ZOaoZmaR0vrKkUlBD6TgqVP2NO87smPvfmRK9XAircBMwWrp5Rx42Rmvv6sUoTMwcGLH6igAHWHStMjo0swM1DXjC\/DcwAhE5vT4Y2QDxbeBFkro8R8cfdgaUU74FuVhcxGWOUf9viRNQD1rZriDQ7zO5b9tFYMNbjxga9Yc5FAORzbiDRd43WLNn3AMEUdUQ9wDf\/JBkmnk4ns1\/eHOW4aBlaeR8HveGnbh5","Path":"\/","Domain":"amazon.com","Expires":"2023-08-05T13:15:41Z","RawExpires":"","MaxAge":0,"Secure":true,"HttpOnly":false,"SameSite":0,"Raw":"","Unparsed":null},{"Name":"at-main","Value":"Atza|IwEBIKc6ImyKdRZ1ZRaPD_AiPZirJsxQhWkXeA3itGu8cEhonuT1eceQaWTDwCKArsnJhzbJf3wDR8LDIqtVZCjUOTnVwHo0H_I737A8IKHgG2mgL3NejipJjCvhyh-k0jJq_gyjmKVZxHvHUsiqGwCa6ElopLmHE8PAs6kWFkF_k-PwacOTPgJ5wFfwzwnIKqs98trhzuteEEkW6gQjxt_FXsay","Path":"\/","Domain":"amazon.com","Expires":"2023-08-05T13:15:25Z","RawExpires":"","MaxAge":0,"Secure":true,"HttpOnly":true,"SameSite":0,"Raw":"","Unparsed":null},{"Name":"lc-main","Value":"en_US","Path":"\/","Domain":"amazon.com","Expires":"2023-08-05T13:15:25Z","RawExpires":"","MaxAge":0,"Secure":true,"HttpOnly":false,"SameSite":0,"Raw":"","Unparsed":null},{"Name":"sess-at-main","Value":"LL3bveO1bZbuZC9C3lEMZgQuxyO1TDUltFkE6yNLLZ8=","Path":"\/","Domain":"amazon.com","Expires":"2023-08-05T21:15:24.9426283+08:00","RawExpires":"","MaxAge":0,"Secure":true,"HttpOnly":true,"SameSite":0,"Raw":"","Unparsed":null},{"Name":"sst-main","Value":"Sst1|PQHDoQv_iO-iiHkAkXEHgtaFCbbvbjr-ElozKs_-mcdXFpucrA0W-KD5M1QNYkGiX2iy1bdgZ41eN6P5KII2e4NifIMYw1KuFQa_Up0KoQPrvYQQmbKZdhDXz1zxqXnk7jcW3zQI6ISwp6k-mUe044_qDdYZEaS9d6bVwUGq940BuqxrbrDv88HrK9kYi7pQtYi-fiqrUOR_CwwKMHGm1KC--80BGIcD_-p-taj93XzRv272ocZ6bg8aQGEy_XJhu86mrAcF1X20lTi6Najwl0WAFFg0rytWeAkF4AW1EpFUokw","Path":"\/","Domain":"amazon.com","Expires":"2023-08-05T13:15:25Z","RawExpires":"","MaxAge":0,"Secure":true,"HttpOnly":true,"SameSite":0,"Raw":"","Unparsed":null},{"Name":"x-main","Value":"5tqulUcuc?G95aUpqS2roRkCqFqxRtNsS6aDO3uoj1WG7BYcKj6vraFIdmtMtECo","Path":"\/","Domain":"amazon.com","Expires":"2023-08-05T21:15:25.2502488+08:00","RawExpires":"","MaxAge":0,"Secure":true,"HttpOnly":false,"SameSite":0,"Raw":"","Unparsed":null}]
				【系统提示】 2022-08-07 00:46:07: wemyssp1428644@zzmail.top -> 打开首页
			【系统提示】 2022-08-09 00:18:09:  -> 代理ip => 60.182.39.97
			【系统提示】 2022-08-09 00:18:09:  -> 获取账户信息
			【系统提示】 2022-08-09 00:18:09: westerl0401991@hmmail.top -> 邮箱地址 -> westerl0401991@hmmail.top
			【系统提示】 2022-08-09 00:18:09: westerl0401991@hmmail.top -> 用户密码 -> h}Zn7M{[SrIwkdqg
			【系统提示】 2022-08-09 00:18:09: westerl0401991@hmmail.top -> [{"Name":"session-id","Value":"132-5648220-8539236","Path":"","Domain":"","Expires":"0001-01-01T00:00:00Z","RawExpires":"","MaxAge":0,"Secure":false,"HttpOnly":false,"SameSite":0,"Raw":"","Unparsed":null},{"Name":"session-id-time","Value":"2290687557l","Path":"","Domain":"","Expires":"0001-01-01T00:00:00Z","RawExpires":"","MaxAge":0,"Secure":false,"HttpOnly":false,"SameSite":0,"Raw":"","Unparsed":null},{"Name":"sp-cdn","Value":"L5Z9:CN","Path":"","Domain":"","Expires":"0001-01-01T00:00:00Z","RawExpires":"","MaxAge":0,"Secure":false,"HttpOnly":false,"SameSite":0,"Raw":"","Unparsed":null},{"Name":"skin","Value":"noskin","Path":"","Domain":"","Expires":"0001-01-01T00:00:00Z","RawExpires":"","MaxAge":0,"Secure":false,"HttpOnly":false,"SameSite":0,"Raw":"","Unparsed":null},{"Name":"ubid-acbca","Value":"132-3385237-4218638","Path":"","Domain":"","Expires":"0001-01-01T00:00:00Z","RawExpires":"","MaxAge":0,"Secure":false,"HttpOnly":false,"SameSite":0,"Raw":"","Unparsed":null},{"Name":"session-token","Value":"fUWdm+4WeAyR\/hn5KY9Oxrr\/IN5FudnYQ2nU3yz+GMuSIoW7RR0a2exwq2qo2R8xSXRUOVqYS\/YuQncNPkmJdTx2Ze4Qlkt5PXjKqCqFbtHWFQ3UHrGeuqowa\/o3Od+EKRJO+vjTVzmzT6aZbJH+abYoyxnmDWaN5m9LgPp+bUgoQXfk0kBZ\/LBNY\/YanecUddsXiiQVvLUMBO6RdZm+BrQB3HP7mGKb5\/5FQMYydDEbOhQELkCQvqaBZmItYr91","Path":"","Domain":"","Expires":"0001-01-01T00:00:00Z","RawExpires":"","MaxAge":0,"Secure":false,"HttpOnly":false,"SameSite":0,"Raw":"","Unparsed":null},{"Name":"x-acbca","Value":"P6lVwFf3tZBbwxQgITPEHY2AV9tx5lb2WvaK5TQZeBbA4QEUF2X7cK6FaVwvhgnK","Path":"","Domain":"","Expires":"0001-01-01T00:00:00Z","RawExpires":"","MaxAge":0,"Secure":false,"HttpOnly":false,"SameSite":0,"Raw":"","Unparsed":null},{"Name":"at-acbca","Value":"Atza|IwEBIEXc6MBL8gRZCABQ2-nApS0cJk4TYkzCd2Imz0vNCDQu-mawa-wbKZ4X7N4jjsxes44yfApdGu6sAOqN_FonC8PleBsKLdIhqf3YbihdoCGM_dWGuIvhxpQrNPF4JdyQLrRNU1tInpf0LX5P_VrvjccrMPQ9Ya3RFX5zJbS_OPv49PITBcgwEnf6v7C2ZlDxfK5o-gj0cqItIccnv_eNmTGH","Path":"","Domain":"","Expires":"0001-01-01T00:00:00Z","RawExpires":"","MaxAge":0,"Secure":false,"HttpOnly":false,"SameSite":0,"Raw":"","Unparsed":null},{"Name":"sess-at-acbca","Value":"7cBrAqkgzbpXeVaESVvQzzqSVKpatsmeua0XqbDupQ8=","Path":"","Domain":"","Expires":"0001-01-01T00:00:00Z","RawExpires":"","MaxAge":0,"Secure":false,"HttpOnly":false,"SameSite":0,"Raw":"","Unparsed":null},{"Name":"sst-acbca","Value":"Sst1|PQE3it2UgWzqQ7MJtVwCAGg4CXUngRofbAY79qxHBvHmto9iDwo70XfFO1WIUJVru0Tz7W5LodfNLhpVPlq8jA7r7tTVqjODyKPcG25tPMzUCYVG2N_zopplWdU41wYrM77GD2-U5Kca7Dg6SFU0hLK-9m5XkO0v-bsowoSs6PoYgaLsF9hjYoBihY2f9YOC3SX-u0sGwXElQjWWLUBvD5hs6V1CmGUpqZbni9Nv2lQcwP4ImdDFj-VmC2152dJDgwDv8TSdXgmsCQmK39lGDOmbN9xGTRqHTE6Mn36qUi2BKzI","Path":"","Domain":"","Expires":"0001-01-01T00:00:00Z","RawExpires":"","MaxAge":0,"Secure":false,"HttpOnly":false,"SameSite":0,"Raw":"","Unparsed":null},{"Name":"lc-acbca","Value":"en_CA","Path":"","Domain":"","Expires":"0001-01-01T00:00:00Z","RawExpires":"","MaxAge":0,"Secure":false,"HttpOnly":false,"SameSite":0,"Raw":"","Unparsed":null},{"Name":"i18n-prefs","Value":"USD","Path":"","Domain":"","Expires":"0001-01-01T00:00:00Z","RawExpires":"","MaxAge":0,"Secure":false,"HttpOnly":false,"SameSite":0,"Raw":"","Unparsed":null}]
			【系统提示】 2022-08-09 00:18:09: westerl0401991@hmmail.top -> 打开首页
			【系统提示】 2022-08-09 00:18:12:  -> 代理ip => 117.70.192.250
			【系统提示】 2022-08-09 00:18:12:  -> 获取账户信息
			【系统提示】 2022-08-09 00:18:12: zeidlom5710375@hxmail.top -> 邮箱地址 -> zeidlom5710375@hxmail.top
			【系统提示】 2022-08-09 00:18:12: zeidlom5710375@hxmail.top -> 用户密码 -> PaX2mv%#ADz
			【系统提示】 2022-08-09 00:18:12: zeidlom5710375@hxmail.top -> [{"Name":"skin","Value":"noskin","Path":"","Domain":"","Expires":"0001-01-01T00:00:00Z","RawExpires":"","MaxAge":0,"Secure":false,"HttpOnly":false,"SameSite":0,"Raw":"","Unparsed":null},{"Name":"session-id","Value":"130-7828478-7321444","Path":"","Domain":"","Expires":"0001-01-01T00:00:00Z","RawExpires":"","MaxAge":0,"Secure":false,"HttpOnly":false,"SameSite":0,"Raw":"","Unparsed":null},{"Name":"session-id-time","Value":"2290687642l","Path":"","Domain":"","Expires":"0001-01-01T00:00:00Z","RawExpires":"","MaxAge":0,"Secure":false,"HttpOnly":false,"SameSite":0,"Raw":"","Unparsed":null},{"Name":"sp-cdn","Value":"L5Z9:CN","Path":"","Domain":"","Expires":"0001-01-01T00:00:00Z","RawExpires":"","MaxAge":0,"Secure":false,"HttpOnly":false,"SameSite":0,"Raw":"","Unparsed":null},{"Name":"ubid-acbca","Value":"133-2814405-6818255","Path":"","Domain":"","Expires":"0001-01-01T00:00:00Z","RawExpires":"","MaxAge":0,"Secure":false,"HttpOnly":false,"SameSite":0,"Raw":"","Unparsed":null},{"Name":"session-token","Value":"ynhDGZSCjTOqc+Q5YY4VnMclSiPQH3MT2allDlDIx2kAZNOmyOTYNQUvZeNIE3cSJTInhOj68yahMMu4WOOEv\/3EeShMCSM4So3e+CrTiNdJwD+ki3rfw+AdgSS2hOCeGLaWbwcaLncig9bQ1CeaSiY8AxFk238FaeM\/oTeOPnYJsWSod7aXVTZKSbIdaxZgGEHgtjjkFU72ECfBdmtDwC\/qkf5l7EqhMk4AAyfMGZuNkgQoqKKFIsAKS5krplgt","Path":"","Domain":"","Expires":"0001-01-01T00:00:00Z","RawExpires":"","MaxAge":0,"Secure":false,"HttpOnly":false,"SameSite":0,"Raw":"","Unparsed":null},{"Name":"x-acbca","Value":"r4vLCdwotztER3HV5PL5L@fksWuYO5Wj9QMKjWADkF3bN4@w6H0WyQxT5eb?jkUG","Path":"","Domain":"","Expires":"0001-01-01T00:00:00Z","RawExpires":"","MaxAge":0,"Secure":false,"HttpOnly":false,"SameSite":0,"Raw":"","Unparsed":null},{"Name":"at-acbca","Value":"Atza|IwEBIBm7sYjmN86GEVj7w3QTEsPviuy2L8H8TlkZSaor_yev7xokTR9y3UfDLWKV1DSEdzlpCoA1nuxvcebIJ-ucOhtSgXrDn7D2TVPkfC0DsfOBz78KqJlWgUwlxO1PU4w63gYEK3WJjJVeirrM3Y_E4B6BK9wdhD8jCbkSBLlVD1bvsiQxlPYwdQgiXlQfbdqyOZKLLXXCqQbJb_0GLHIOJL6y","Path":"","Domain":"","Expires":"0001-01-01T00:00:00Z","RawExpires":"","MaxAge":0,"Secure":false,"HttpOnly":false,"SameSite":0,"Raw":"","Unparsed":null},{"Name":"sess-at-acbca","Value":"4+lJp74hMxGEA9eLPtj7Nrf56h\/cOWpfOwSPYjK\/Qi4=","Path":"","Domain":"","Expires":"0001-01-01T00:00:00Z","RawExpires":"","MaxAge":0,"Secure":false,"HttpOnly":false,"SameSite":0,"Raw":"","Unparsed":null},{"Name":"sst-acbca","Value":"Sst1|PQGr8TkOFJ-yml9yKxJqPaekCQ2HMYeUJ2QEHgaVM7f4Q7sBsuX-yKLH3g2pucRT1mdzFZtj4iZCTvYfu6swal5ZK8i8dMe_UOXKY92MRjRpxA-M-aBdpQE9rDQC2BAc24TNaV6bJUizNROfgh_svfvGVhfTUViOJ3t2EcBB4Di7U75GNg6iDYcl9AFk9_hIdksyNbAhCs_8yDITUBD12P81ErrS-ezY401hVxJSRm2meAJdSrXF340iKDa_Szl5QWSwum_ngrkG7HTyVJYtGLcJxjNlXoOlvWp-nROHZjXlgFA","Path":"","Domain":"","Expires":"0001-01-01T00:00:00Z","RawExpires":"","MaxAge":0,"Secure":false,"HttpOnly":false,"SameSite":0,"Raw":"","Unparsed":null},{"Name":"lc-acbca","Value":"en_CA","Path":"","Domain":"","Expires":"0001-01-01T00:00:00Z","RawExpires":"","MaxAge":0,"Secure":false,"HttpOnly":false,"SameSite":0,"Raw":"","Unparsed":null},{"Name":"i18n-prefs","Value":"USD","Path":"","Domain":"","Expires":"0001-01-01T00:00:00Z","RawExpires":"","MaxAge":0,"Secure":false,"HttpOnly":false,"SameSite":0,"Raw":"","Unparsed":null}]
			【系统提示】 2022-08-09 00:18:12: zeidlom5710375@hxmail.top -> 打开首页
			【系统提示】 2022-08-09 00:18:14: westerl0401991@hmmail.top -> 222.77.96.200:14295
			【系统提示】 2022-08-09 00:18:14: westerl0401991@hmmail.top -> 已把地址修改为:  T2C 5B7
			【系统提示】 2022-08-09 00:18:15:  -> 代理ip => 58.214.66.41
			【系统提示】 2022-08-09 00:18:15:  -> 获取账户信息
			【系统提示】 2022-08-09 00:18:15: valcowr0535126@hmmail.top -> 邮箱地址 -> valcowr0535126@hmmail.top
			【系统提示】 2022-08-09 00:18:15: valcowr0535126@hmmail.top -> 用户密码 -> }[#4nRdsX
			【系统提示】 2022-08-09 00:18:15: valcowr0535126@hmmail.top -> [{"Name":"i18n-prefs","Value":"USD","Path":"\/","Domain":"amazon.ca","Expires":"2023-08-08T14:07:02Z","RawExpires":"","MaxAge":0,"Secure":false,"HttpOnly":false,"SameSite":0,"Raw":"","Unparsed":null},{"Name":"session-id","Value":"134-2208848-4479152","Path":"\/","Domain":"amazon.ca","Expires":"2023-08-08T14:07:38Z","RawExpires":"","MaxAge":0,"Secure":true,"HttpOnly":false,"SameSite":0,"Raw":"","Unparsed":null},{"Name":"session-id-time","Value":"2290687658l","Path":"\/","Domain":"amazon.ca","Expires":"2023-08-08T14:07:38Z","RawExpires":"","MaxAge":0,"Secure":true,"HttpOnly":false,"SameSite":0,"Raw":"","Unparsed":null},{"Name":"skin","Value":"noskin","Path":"\/","Domain":"amazon.ca","Expires":"9999-12-31T23:59:59Z","RawExpires":"","MaxAge":0,"Secure":false,"HttpOnly":false,"SameSite":0,"Raw":"","Unparsed":null},{"Name":"sp-cdn","Value":"L5Z9:CN","Path":"\/","Domain":"amazon.ca","Expires":"2023-08-08T22:05:37.6354736+08:00","RawExpires":"","MaxAge":0,"Secure":true,"HttpOnly":true,"SameSite":0,"Raw":"","Unparsed":null},{"Name":"ubid-acbca","Value":"131-4185848-2287258","Path":"\/","Domain":"amazon.ca","Expires":"2023-08-08T14:07:38Z","RawExpires":"","MaxAge":0,"Secure":true,"HttpOnly":false,"SameSite":0,"Raw":"","Unparsed":null},{"Name":"session-token","Value":"vALbCocDKbMejBhcs+z1ahYbhSCjpcGNj3YtzzD4EkJPOJDWhKU+C7gzPNHdZyr5ER9O7CvuopKV9nGvTKWcLX2++gUl0dfAhKDRJ+P\/Dwp3pAWaNAPoFQkGVc5oj+aPNvOfVagqS87xydkxmdSei\/CzBTBiFR5swoPdtv+xFy6pPOCdfdfIQY38BszTObscqXlnHJ19fnWZfoTo4Zn5e29mw+0A+sFnmyOi3wZ5FO4rxjT1iXuLHmhSCYgx7ERV","Path":"\/","Domain":"amazon.ca","Expires":"2023-08-08T14:07:38Z","RawExpires":"","MaxAge":0,"Secure":true,"HttpOnly":false,"SameSite":0,"Raw":"","Unparsed":null},{"Name":"at-acbca","Value":"Atza|IwEBIN0yeXtIdU-QWnqY2ygv6lDFukeTDJ9RWoADrrDT12XleaOrWdkbPxWoV-hdtpwHmRcMFkpLnLzHnMyTiou7Vf0KncVTrRKTCpX8j38fTUaht8uy84J17_SIrSECq5rTOlJKNwuiwDHhFQdbbiaWNT0Q0e-yfqAT3kqlKuvs1KpIpgsFs146jS4BKvgSYA_pQBxC_wWCBYwGH5AT6zxrvYX0","Path":"\/","Domain":"amazon.ca","Expires":"2023-08-08T14:07:01Z","RawExpires":"","MaxAge":0,"Secure":true,"HttpOnly":true,"SameSite":0,"Raw":"","Unparsed":null},{"Name":"lc-acbca","Value":"en_CA","Path":"\/","Domain":"amazon.ca","Expires":"2023-08-08T14:07:01Z","RawExpires":"","MaxAge":0,"Secure":true,"HttpOnly":false,"SameSite":0,"Raw":"","Unparsed":null},{"Name":"sess-at-acbca","Value":"EoJDyvLhqP49KjHl+YQAAENCWJtOsWQxL5k\/v98\/A7k=","Path":"\/","Domain":"amazon.ca","Expires":"2023-08-08T22:07:02.0760891+08:00","RawExpires":"","MaxAge":0,"Secure":true,"HttpOnly":true,"SameSite":0,"Raw":"","Unparsed":null},{"Name":"sst-acbca","Value":"Sst1|PQFR5DySiV1l7lbYNKPweKuCCcT0fxg-KbCzoiA7aOR56v6c_ELelq11mMV100g-1R8Zn6SVAjaHXmBMTRVXmlSHSunxcuutek--68mahv8wQA6y9q3XmqSVnFyJ9kuZLbaOtq4VJzBrQzJyCHYuEpVgtk9fjp8QmyQv3KDXFUW7aKtxlKzLNuxttzVYkNgfM6n4gVpsb7MMZlnYZhWa8JaBCli6M49EciGSL8X-FX4NlJdNDDQ1I4H3jqR_aiVvpIsw9N4qAV7FBIoYMvPQgIFEIBqqGoXBFBd55autME76g_g","Path":"\/","Domain":"amazon.ca","Expires":"2023-08-08T14:07:01Z","RawExpires":"","MaxAge":0,"Secure":true,"HttpOnly":true,"SameSite":0,"Raw":"","Unparsed":null},{"Name":"x-acbca","Value":"Sg08HIyObPg8NJMco?ROaN6FwdZaOgduUvgoov5zPv6RZnaB4dhnjKNMNZ31r0vm","Path":"\/","Domain":"amazon.ca","Expires":"2023-08-08T22:07:02.564326+08:00","RawExpires":"","MaxAge":0,"Secure":true,"HttpOnly":false,"SameSite":0,"Raw":"","Unparsed":null}]
			【系统提示】 2022-08-09 00:18:15: valcowr0535126@hmmail.top -> 打开首页
			【系统提示】 2022-08-09 00:18:18: zeidlom5710375@hxmail.top -> 222.77.96.200:14295
			【系统提示】 2022-08-09 00:18:18: zeidlom5710375@hxmail.top -> 已把地址修改为:  T2E 0M6
			【系统提示】 2022-08-09 00:18:24: westerl0401991@hmmail.top -> 获取 B0B2WKQBX4 的跟卖商家
			【系统提示】 2022-08-09 00:18:25: zeidlom5710375@hxmail.top -> 获取 B0B3W27MSB 的跟卖商家
			【系统提示】 2022-08-09 00:18:27: westerl0401991@hmmail.top -> B0B2WKQBX4 计划加购数量 877, 实际加购数量为 877
			【系统提示】 2022-08-09 00:18:27: westerl0401991@hmmail.top -> 加购完毕, 进入购物车
			【系统提示】 2022-08-09 00:18:27: zeidlom5710375@hxmail.top -> B0B3W27MSB 计划加购数量 845, 实际加购数量为 845
			【系统提示】 2022-08-09 00:18:27: zeidlom5710375@hxmail.top -> 加购完毕, 进入购物车
			【系统提示】 2022-08-09 00:18:29: zeidlom5710375@hxmail.top -> 开始结账
			【系统提示】 2022-08-09 00:18:30: westerl0401991@hmmail.top -> 开始结账
			【系统提示】 2022-08-09 00:18:32: zeidlom5710375@hxmail.top -> 添加收货地址
			【系统提示】 2022-08-09 00:18:32: westerl0401991@hmmail.top -> 添加收货地址
			【系统提示】 2022-08-09 00:18:35: westerl0401991@hmmail.top -> 添加收货地址
			【系统提示】 2022-08-09 00:18:36: zeidlom5710375@hxmail.top -> 获取信用卡信息
			【系统提示】 2022-08-09 00:18:36: zeidlom5710375@hxmail.top -> 获取信用卡表单
			【系统提示】 2022-08-09 00:18:37:  -> 软件异常,退出, 原因 = runtime error: invalid memory address or nil pointer dereference
			【系统提示】 2022-08-09 00:18:38: westerl0401991@hmmail.top -> 获取信用卡信息
			【系统提示】 2022-08-09 00:18:38: westerl0401991@hmmail.top -> 获取信用卡表单
			【系统提示】 2022-08-09 00:18:42:  -> 代理ip => 115.210.68.236
			【系统提示】 2022-08-09 00:18:42:  -> 获取账户信息
			【系统提示】 2022-08-09 00:18:42: gissend0257296@hmmail.top -> 邮箱地址 -> gissend0257296@hmmail.top
			【系统提示】 2022-08-09 00:18:42: gissend0257296@hmmail.top -> 用户密码 -> =l[Vv@!Cca
			【系统提示】 2022-08-09 00:18:42: gissend0257296@hmmail.top -> [{"Name":"session-id","Value":"135-7059526-5699642","Path":"","Domain":"","Expires":"0001-01-01T00:00:00Z","RawExpires":"","MaxAge":0,"Secure":false,"HttpOnly":false,"SameSite":0,"Raw":"","Unparsed":null},{"Name":"session-id-time","Value":"2290687724l","Path":"","Domain":"","Expires":"0001-01-01T00:00:00Z","RawExpires":"","MaxAge":0,"Secure":false,"HttpOnly":false,"SameSite":0,"Raw":"","Unparsed":null},{"Name":"sp-cdn","Value":"L5Z9:CN","Path":"","Domain":"","Expires":"0001-01-01T00:00:00Z","RawExpires":"","MaxAge":0,"Secure":false,"HttpOnly":false,"SameSite":0,"Raw":"","Unparsed":null},{"Name":"skin","Value":"noskin","Path":"","Domain":"","Expires":"0001-01-01T00:00:00Z","RawExpires":"","MaxAge":0,"Secure":false,"HttpOnly":false,"SameSite":0,"Raw":"","Unparsed":null},{"Name":"ubid-acbca","Value":"134-6169768-3591864","Path":"","Domain":"","Expires":"0001-01-01T00:00:00Z","RawExpires":"","MaxAge":0,"Secure":false,"HttpOnly":false,"SameSite":0,"Raw":"","Unparsed":null},{"Name":"session-token","Value":"sYG8r\/MNRzpWm3qlQowE9CWJI\/jtDCFxcpUWgDyx7xKZrVZ3QdidR+8P8Vsfl5OsW3gZ6fRzsQ6L\/fUQ\/mj4hmohsm09QM\/D3GFn9NUGF97Cz\/RPK\/rV5mmZbhcmNC+4ShpCQn1GMsgEkueJ+PIXa1Htnk4xY8R3kJTolOR+0z+zzbTxP1+lU+UCBlsrnwutqFxsYOaY+gUtkE\/eD1Xzm4Slzb5TrDaeOeKbmBrWvbRKr5SWexGfPNM+yXPXm7AO","Path":"","Domain":"","Expires":"0001-01-01T00:00:00Z","RawExpires":"","MaxAge":0,"Secure":false,"HttpOnly":false,"SameSite":0,"Raw":"","Unparsed":null},{"Name":"x-acbca","Value":"TIX7SwCPHsC5sXLdyH7FnCjlKQ2mge1mivpS8CVzgP@7oNYW7mJkpG4iLYHMvpAC","Path":"","Domain":"","Expires":"0001-01-01T00:00:00Z","RawExpires":"","MaxAge":0,"Secure":false,"HttpOnly":false,"SameSite":0,"Raw":"","Unparsed":null},{"Name":"at-acbca","Value":"Atza|IwEBIPSRW7CKe83LvDQTsaDhzuO9NGk_dpRQc3_wsJ8WgQYVlv5j0x7lLY5oziNVCvMvndmZfWhdRamVTA9uc8UtmlzsW4gSqm5YfgjXlJlpctyrwYJDq5ePBdkj8WSYWPSKCQcx4gIDmDCj-SXCSwRiZTgIV-9QFyAal5Y7Suh_AI7WYC41UeLaKuu7itLIYWpsCQzlbfLvwUfrzcjLJQ7QPQS7","Path":"","Domain":"","Expires":"0001-01-01T00:00:00Z","RawExpires":"","MaxAge":0,"Secure":false,"HttpOnly":false,"SameSite":0,"Raw":"","Unparsed":null},{"Name":"sess-at-acbca","Value":"Tpeqm7jje4PN5Uq9zgczzEmK\/PCj9Yeppwwhh9EoW30=","Path":"","Domain":"","Expires":"0001-01-01T00:00:00Z","RawExpires":"","MaxAge":0,"Secure":false,"HttpOnly":false,"SameSite":0,"Raw":"","Unparsed":null},{"Name":"sst-acbca","Value":"Sst1|PQFij9qHzrK4uMgfPJGpnLvcCfuDVL0fW38mtGh1DEAIXgK3jgNLy-bSCQnorhDRyk69nLCryQbfHMW5brE06Sz5pz2oiBMtPIlzt4dMXVP-Q5KivAFB2jM7yNzVxBb_ebRojJORXdUnJg2IQ9BfLCDSD1Y2miRR-2dXAKHUWREolh0OL-VqKCBjo_NVDGuWRYPgipf5Hvja0mHby0YSjDybAZBleU01T2JqQc3wLgWFrh7gnX7FtCt92H9T5GgDyhbOQheN8Rq8m-UmDv52z6GNXPE2Rr8oM4ygnr5lmBjwIsE","Path":"","Domain":"","Expires":"0001-01-01T00:00:00Z","RawExpires":"","MaxAge":0,"Secure":false,"HttpOnly":false,"SameSite":0,"Raw":"","Unparsed":null},{"Name":"lc-acbca","Value":"en_CA","Path":"","Domain":"","Expires":"0001-01-01T00:00:00Z","RawExpires":"","MaxAge":0,"Secure":false,"HttpOnly":false,"SameSite":0,"Raw":"","Unparsed":null},{"Name":"i18n-prefs","Value":"USD","Path":"","Domain":"","Expires":"0001-01-01T00:00:00Z","RawExpires":"","MaxAge":0,"Secure":false,"HttpOnly":false,"SameSite":0,"Raw":"","Unparsed":null}]
			【系统提示】 2022-08-09 00:18:42: gissend0257296@hmmail.top -> 打开首页
			【系统提示】 2022-08-09 00:18:44: valcowr0535126@hmmail.top -> 222.77.96.200:14295
			【系统提示】 2022-08-09 00:18:44: valcowr0535126@hmmail.top -> 已把地址修改为:  T2B 2A1
			【系统提示】 2022-08-09 00:18:49: gissend0257296@hmmail.top -> 222.77.96.200:14295
			【系统提示】 2022-08-09 00:18:49: gissend0257296@hmmail.top -> 已把地址修改为:  T7P 1T2
			【系统提示】 2022-08-09 00:19:01: gissend0257296@hmmail.top -> 获取 B0B3W27MSB 的跟卖商家
			【系统提示】 2022-08-09 00:19:04: gissend0257296@hmmail.top -> B0B3W27MSB 计划加购数量 916, 实际加购数量为 916
			【系统提示】 2022-08-09 00:19:04: gissend0257296@hmmail.top -> 加购完毕, 进入购物车

			【系统提示】 2022-08-09 18:33:25: vanheld1947733@hxmail.top -> 邮箱地址 -> vanheld1947733@hxmail.top
			【系统提示】 2022-08-09 18:33:25: vanheld1947733@hxmail.top -> 用户密码 -> myMsoRfkE+&iu%
			【系统提示】 2022-08-09 18:33:25: vanheld1947733@hxmail.top -> [{"Name":"i18n-prefs","Value":"USD","Path":"\/","Domain":"amazon.com","Expires":"2023-08-08T22:20:42Z","RawExpires":"","MaxAge":0,"Secure":false,"HttpOnly":false,"SameSite":0,"Raw":"","Unparsed":null},{"Name":"session-id","Value":"144-7086679-0709413","Path":"\/","Domain":"amazon.com","Expires":"2023-08-08T22:20:48Z","RawExpires":"","MaxAge":0,"Secure":true,"HttpOnly":false,"SameSite":0,"Raw":"","Unparsed":null},{"Name":"session-id-time","Value":"2290717248l","Path":"\/","Domain":"amazon.com","Expires":"2023-08-08T22:20:48Z","RawExpires":"","MaxAge":0,"Secure":true,"HttpOnly":false,"SameSite":0,"Raw":"","Unparsed":null},{"Name":"skin","Value":"noskin","Path":"\/","Domain":"amazon.com","Expires":"9999-12-31T23:59:59Z","RawExpires":"","MaxAge":0,"Secure":false,"HttpOnly":false,"SameSite":0,"Raw":"","Unparsed":null},{"Name":"sp-cdn","Value":"L5Z9:CN","Path":"\/","Domain":"amazon.com","Expires":"2023-08-09T06:19:49.794386+08:00","RawExpires":"","MaxAge":0,"Secure":true,"HttpOnly":true,"SameSite":0,"Raw":"","Unparsed":null},{"Name":"ubid-main","Value":"135-0995391-6559904","Path":"\/","Domain":"amazon.com","Expires":"2023-08-08T22:20:48Z","RawExpires":"","MaxAge":0,"Secure":true,"HttpOnly":false,"SameSite":0,"Raw":"","Unparsed":null},{"Name":"session-token","Value":"FaAs++AIGBRKdOK48sqoG7p4srM\/b8vwQ5w8siGwMqhYiX3J7WyU4bhzs3W8OnfiwO3Up\/Kh9\/DCDnluid\/Rf3f7RC\/l1qXnL8TYi+7aHG\/o8AsfCouwOZxPnPtQu2Tw+3wVBjTXEL17hb44ILu+ta7vqoai0u+J6YexvI14flykNz1IXg\/ZAdN1t7AQidYDbfgR\/RO54PLAEhpLG\/BzxLVG1qyciS0g0pCVDUatRZcHaCkDdo6TpVLCntEu4Q3f","Path":"\/","Domain":"amazon.com","Expires":"2023-08-08T22:20:48Z","RawExpires":"","MaxAge":0,"Secure":true,"HttpOnly":false,"SameSite":0,"Raw":"","Unparsed":null},{"Name":"at-main","Value":"Atza|IwEBICPEU6iZJ4iVhDds6hqEa4hsSmOyJAdbQq9-0LyvloiS6n_N9L0VRjtSun9zrTPQwhNcxMXk9qSKR_qHN_lPm2_EAbYoqgNqG_h1qwfJTtozMQDJwzvpyCMRZ5NyVZU6jAdJCWexWIp4UBzUpc7TVVlc5eRquxAehQfiDYD14ivmnhi-FCNhhsax0_3uFEtsThJBr91xn40lzkrXREDEB_88","Path":"\/","Domain":"amazon.com","Expires":"2023-08-08T22:20:41Z","RawExpires":"","MaxAge":0,"Secure":true,"HttpOnly":true,"SameSite":0,"Raw":"","Unparsed":null},{"Name":"lc-main","Value":"en_US","Path":"\/","Domain":"amazon.com","Expires":"2023-08-08T22:20:41Z","RawExpires":"","MaxAge":0,"Secure":true,"HttpOnly":false,"SameSite":0,"Raw":"","Unparsed":null},{"Name":"sess-at-main","Value":"zd9H\/MXoLrtfIMesH\/ZUJo1fZ4D28bti5uq0TuwpXCU=","Path":"\/","Domain":"amazon.com","Expires":"2023-08-09T06:20:41.4673028+08:00","RawExpires":"","MaxAge":0,"Secure":true,"HttpOnly":true,"SameSite":0,"Raw":"","Unparsed":null},{"Name":"sst-main","Value":"Sst1|PQELTCTZvj8WitgQ_R3FmtNMCbmYj631NxroiDDTSKlPC6BL2Sooo4WBckgqVPNlhONEIHcSC0wgjuOVOOENC8CzKrIOoIH8s6-MbF8ouoVgbgGJuoIKXOaZn5VZaOrqH0Zenz9S1pGVPTymLE-lsVRok_HDPxqjgXzYAAj8pMsvBY1bL8ZoXeS4t2s0Wz7_vsWe7_o9RjNNThr2Gqh39RVfK-ohuL_BdP6G8dfd6cjESyIWIG86M0_JiuHn29nMMfOT5TMfKUsAtLicU6y6bieFR0gnjgGXsgfPXJRvxG7X3Y8","Path":"\/","Domain":"amazon.com","Expires":"2023-08-08T22:20:41Z","RawExpires":"","MaxAge":0,"Secure":true,"HttpOnly":true,"SameSite":0,"Raw":"","Unparsed":null},{"Name":"x-main","Value":"DK3HGH9Pj7qnlM46?5PLaybGTfkQglxl46aI9rXYCUpohpcLyUdLLVDtAQ2jMzme","Path":"\/","Domain":"amazon.com","Expires":"2023-08-09T06:20:42.1977596+08:00","RawExpires":"","MaxAge":0,"Secure":true,"HttpOnly":false,"SameSite":0,"Raw":"","Unparsed":null}]
			【系统提示】 2022-08-09 18:33:26: vanheld1947733@hxmail.top -> 打开首页

			【系统提示】 2022-08-09 18:50:03: tapizmc2827959@ggmail.top -> 邮箱地址 -> tapizmc2827959@ggmail.top
			【系统提示】 2022-08-09 18:50:03: tapizmc2827959@ggmail.top -> 用户密码 -> RFiBN$8ghae
			【系统提示】 2022-08-09 18:50:03: tapizmc2827959@ggmail.top -> [{"Name":"i18n-prefs","Value":"USD","Path":"\/","Domain":"amazon.com","Expires":"2023-08-08T22:31:59Z","RawExpires":"","MaxAge":0,"Secure":false,"HttpOnly":false,"SameSite":0,"Raw":"","Unparsed":null},{"Name":"session-id","Value":"138-7983879-2409910","Path":"\/","Domain":"amazon.com","Expires":"2023-08-08T22:32:08Z","RawExpires":"","MaxAge":0,"Secure":true,"HttpOnly":false,"SameSite":0,"Raw":"","Unparsed":null},{"Name":"session-id-time","Value":"2290717928l","Path":"\/","Domain":"amazon.com","Expires":"2023-08-08T22:32:08Z","RawExpires":"","MaxAge":0,"Secure":true,"HttpOnly":false,"SameSite":0,"Raw":"","Unparsed":null},{"Name":"skin","Value":"noskin","Path":"\/","Domain":"amazon.com","Expires":"9999-12-31T23:59:59Z","RawExpires":"","MaxAge":0,"Secure":false,"HttpOnly":false,"SameSite":0,"Raw":"","Unparsed":null},{"Name":"sp-cdn","Value":"L5Z9:CN","Path":"\/","Domain":"amazon.com","Expires":"2023-08-09T06:28:28.8493032+08:00","RawExpires":"","MaxAge":0,"Secure":true,"HttpOnly":true,"SameSite":0,"Raw":"","Unparsed":null},{"Name":"ubid-main","Value":"133-6311538-4705728","Path":"\/","Domain":"amazon.com","Expires":"2023-08-08T22:32:08Z","RawExpires":"","MaxAge":0,"Secure":true,"HttpOnly":false,"SameSite":0,"Raw":"","Unparsed":null},{"Name":"session-token","Value":"L71yZtITxqEd4Czs7Rj3AmBMD6UDR\/1xJa8VdCiQDRR2M5irUfCdIWn4VofMKOMao3ywTYwixo25RVLQyH9V+q9YH5WlTJArSqM2FJT6aVPuzETHmtWlmY8ye4Ryd4OMqPRf3nP21s5TVAnSg30j5zXQW355maOfczpeqkxVzeFN5O60ybi2oC7BgySDK0JrXp0ipzf1OUKuQulyQ8HCA0uw\/OEqN58NpfCXPWOc2VFGMK9WNBPtL7Sv29jlRpPP","Path":"\/","Domain":"amazon.com","Expires":"2023-08-08T22:32:08Z","RawExpires":"","MaxAge":0,"Secure":true,"HttpOnly":false,"SameSite":0,"Raw":"","Unparsed":null},{"Name":"at-main","Value":"Atza|IwEBIOgtjroycUPlpwU7WMtqgJMjN5szZUgsJ6quEyZP8UuUxLMuyzLxFPiCzP2kjQj26HczKhOFTGorN4IPlpE5t3QBn4XDr0oFYumGXmGJ7saToUiozI3XQnCwmZwQdr9UH2HF1dk1MsL15J17gNWX58g2PFdpXh1BmV--XffzyoJevQ9fYlVBJT9TjnPxEecrpzl69HGsWrh1kqOW9YLfT4cr","Path":"\/","Domain":"amazon.com","Expires":"2023-08-08T22:31:58Z","RawExpires":"","MaxAge":0,"Secure":true,"HttpOnly":true,"SameSite":0,"Raw":"","Unparsed":null},{"Name":"lc-main","Value":"en_US","Path":"\/","Domain":"amazon.com","Expires":"2023-08-08T22:31:58Z","RawExpires":"","MaxAge":0,"Secure":true,"HttpOnly":false,"SameSite":0,"Raw":"","Unparsed":null},{"Name":"sess-at-main","Value":"x1rscDmD0iTJeK1SJJJDuNYsjZikz6TDwfB2jwER5sc=","Path":"\/","Domain":"amazon.com","Expires":"2023-08-09T06:31:58.0101324+08:00","RawExpires":"","MaxAge":0,"Secure":true,"HttpOnly":true,"SameSite":0,"Raw":"","Unparsed":null},{"Name":"sst-main","Value":"Sst1|PQFW_ZsFwPquf3vwvP6qgolUCeqAm7YKSbMjNoue9ienW2AH3mmLF68WsdmFk-aCaP7OXUO9KHNBvw_OaYC0wViRrN8vE1kbKaxWT1J3oVDczTXHC0c3Yqgt9fsdOHs0e3QL_LPxMsvYmL0eqBKtO39eLXJFJWD70uf6VggOffn-jSz12-JXg_QsW2CmiOolVr7_6mEYOZmaObij1q0psRxlrDQ9YM6SFZf_BmWeFqfD7YmbRcUNK4ZeTEfb5ocbZ1wJK5XIMzeZrU8xTPfhuCtwXtfpw_EO-XBzb9GA6AGUBvc","Path":"\/","Domain":"amazon.com","Expires":"2023-08-08T22:31:58Z","RawExpires":"","MaxAge":0,"Secure":true,"HttpOnly":true,"SameSite":0,"Raw":"","Unparsed":null},{"Name":"x-main","Value":"16ZjMqhygwqC14qph7WNm6IHcK9qxra7O1TK3C9g9OU4boXJKf7fposf40dQ1RFc","Path":"\/","Domain":"amazon.com","Expires":"2023-08-08T22:31:59Z","RawExpires":"","MaxAge":0,"Secure":true,"HttpOnly":false,"SameSite":0,"Raw":"","Unparsed":null}]
			【系统提示】 2022-08-09 18:50:03: tapizmc2827959@ggmail.top -> 打开首页

		【系统提示】 2022-08-09 19:06:37: zhenwoo3515665@ggmail.top -> 邮箱地址 -> zhenwoo3515665@ggmail.top
		【系统提示】 2022-08-09 19:06:37: zhenwoo3515665@ggmail.top -> 用户密码 -> 6aGIeJ1*!
		【系统提示】 2022-08-09 19:06:38: zhenwoo3515665@ggmail.top -> [{"Name":"i18n-prefs","Value":"USD","Path":"\/","Domain":"amazon.com","Expires":"2023-08-08T22:43:33Z","RawExpires":"","MaxAge":0,"Secure":false,"HttpOnly":false,"SameSite":0,"Raw":"","Unparsed":null},{"Name":"session-id","Value":"147-2536180-3679464","Path":"\/","Domain":"amazon.com","Expires":"2023-08-08T22:43:40Z","RawExpires":"","MaxAge":0,"Secure":true,"HttpOnly":false,"SameSite":0,"Raw":"","Unparsed":null},{"Name":"session-id-time","Value":"2290718620l","Path":"\/","Domain":"amazon.com","Expires":"2023-08-08T22:43:40Z","RawExpires":"","MaxAge":0,"Secure":true,"HttpOnly":false,"SameSite":0,"Raw":"","Unparsed":null},{"Name":"skin","Value":"noskin","Path":"\/","Domain":"amazon.com","Expires":"9999-12-31T23:59:59Z","RawExpires":"","MaxAge":0,"Secure":false,"HttpOnly":false,"SameSite":0,"Raw":"","Unparsed":null},{"Name":"sp-cdn","Value":"L5Z9:CN","Path":"\/","Domain":"amazon.com","Expires":"2023-08-09T06:35:17.2099718+08:00","RawExpires":"","MaxAge":0,"Secure":true,"HttpOnly":true,"SameSite":0,"Raw":"","Unparsed":null},{"Name":"ubid-main","Value":"131-1736082-6663342","Path":"\/","Domain":"amazon.com","Expires":"2023-08-08T22:43:40Z","RawExpires":"","MaxAge":0,"Secure":true,"HttpOnly":false,"SameSite":0,"Raw":"","Unparsed":null},{"Name":"session-token","Value":"ETaQOMpOpgMrJqXQPjsvqNvSAjiVPZDx8AHzyEophaVch\/5b5qmyh61AmduZEZwIXo9bmlBgDS8T0qn+7hTC\/Xsz5JSGENBjGNaJ9baJvBLi1mINQQoe8jq3r3xEPJlWUJHKVZitUTBIIZw2fAU\/2YmJ7u5I5zrobAOcwPpomHS1yqLYBstNmBtmAOS6ylt1U0rGjtDRDMO4kw+5FLm\/2IATDhWaxvfUF7ZhWIhJ1QVYx8c+6WM5jLrN4FBh4mJG","Path":"\/","Domain":"amazon.com","Expires":"2023-08-08T22:43:40Z","RawExpires":"","MaxAge":0,"Secure":true,"HttpOnly":false,"SameSite":0,"Raw":"","Unparsed":null},{"Name":"at-main","Value":"Atza|IwEBIH7pdEpcg1xuzZGYLK6B5uqGaQyHezHgITFb-WnI7WwYioPhHEiqzgmEz--rcN_xNhwgpWjfbhfNHY34t-voNfKRHiJTw5L94DAGuLxjJp6wXc-YTyB93gplsgEIkSgZmxXHrnYKU8TTSgVYfvc7TrYVBzUa21uFRaKxzrj8zjUPOHO3iE70KSSJ8ubODJHZ8X-K5PD4p6GUdSNElOm9yi27","Path":"\/","Domain":"amazon.com","Expires":"2023-08-08T22:43:32Z","RawExpires":"","MaxAge":0,"Secure":true,"HttpOnly":true,"SameSite":0,"Raw":"","Unparsed":null},{"Name":"lc-main","Value":"en_US","Path":"\/","Domain":"amazon.com","Expires":"2023-08-08T22:43:32Z","RawExpires":"","MaxAge":0,"Secure":true,"HttpOnly":false,"SameSite":0,"Raw":"","Unparsed":null},{"Name":"sess-at-main","Value":"TRM8IQJv893WoqyTN6b23wa6YOE9IukIf0SYGUPq8FM=","Path":"\/","Domain":"amazon.com","Expires":"2023-08-09T06:43:32.1939209+08:00","RawExpires":"","MaxAge":0,"Secure":true,"HttpOnly":true,"SameSite":0,"Raw":"","Unparsed":null},{"Name":"sst-main","Value":"Sst1|PQEzblvJximbam1t8mDXu_4wCSH2mmGsZLSLG7pD1nRZVS2MhTYjhJu_4OjvfyjXMxBj-m3n3eecjIq2UOHV0m_iESITcHSPk6HjCl7EWs-146kt8RQE4JuxkNk5wKzU7NjOWsa3A_UWlEBKoyh0LvhXk1QrG16MwGQuwlNc8GGfPp22xlzlXqzvLJu4GmLjT5gAYcAhdYOjjkCrJ7k_MDYlIPeeP6tJ8d785Whaifg8Jsi1XDQI7d59cuQGaIgVgqz4kuqm-OVXTCFZoGCI8l8I7k0-6OhjGQw93W0EqqONguE","Path":"\/","Domain":"amazon.com","Expires":"2023-08-08T22:43:32Z","RawExpires":"","MaxAge":0,"Secure":true,"HttpOnly":true,"SameSite":0,"Raw":"","Unparsed":null},{"Name":"x-main","Value":"TyxvG0TBWuXVh@W6BNgEIuf@Cehand6y8ikgeTZCzLZYOBkxcXr15O4550QBcKZT","Path":"\/","Domain":"amazon.com","Expires":"2023-08-09T06:43:32.691806+08:00","RawExpires":"","MaxAge":0,"Secure":true,"HttpOnly":false,"SameSite":0,"Raw":"","Unparsed":null}]

	*/

	result := `{
	"status": "success",
	"data": {
	"emailaddress": "capelor3114684@ytmail.top",
	"password": "pQ%5Eu[z",
	"name": "",
	"cookie": "[{\"Name\":\"i18n-prefs\",\"Value\":\"USD\",\"Path\":\"\/\",\"Domain\":\"amazon.de\",\"Expires\":\"2023-08-31T06:34:16Z\",\"RawExpires\":\"\",\"MaxAge\":0,\"Secure\":false,\"HttpOnly\":false,\"SameSite\":0,\"Raw\":\"\",\"Unparsed\":null},{\"Name\":\"session-id\",\"Value\":\"142-0243267-0539174\",\"Path\":\"\/\",\"Domain\":\"amazon.de\",\"Expires\":\"2023-08-31T06:34:23Z\",\"RawExpires\":\"\",\"MaxAge\":0,\"Secure\":true,\"HttpOnly\":false,\"SameSite\":0,\"Raw\":\"\",\"Unparsed\":null},{\"Name\":\"session-id-time\",\"Value\":\"2292647663l\",\"Path\":\"\/\",\"Domain\":\"amazon.de\",\"Expires\":\"2023-08-31T06:34:23Z\",\"RawExpires\":\"\",\"MaxAge\":0,\"Secure\":true,\"HttpOnly\":false,\"SameSite\":0,\"Raw\":\"\",\"Unparsed\":null},{\"Name\":\"skin\",\"Value\":\"noskin\",\"Path\":\"\/\",\"Domain\":\"amazon.de\",\"Expires\":\"9999-12-31T23:59:59Z\",\"RawExpires\":\"\",\"MaxAge\":0,\"Secure\":false,\"HttpOnly\":false,\"SameSite\":0,\"Raw\":\"\",\"Unparsed\":null},{\"Name\":\"sp-cdn\",\"Value\":\"L5Z9:CN\",\"Path\":\"\/\",\"Domain\":\"amazon.de\",\"Expires\":\"2023-08-31T14:31:15.1914481+08:00\",\"RawExpires\":\"\",\"MaxAge\":0,\"Secure\":true,\"HttpOnly\":true,\"SameSite\":0,\"Raw\":\"\",\"Unparsed\":null},{\"Name\":\"ubid-acbde\",\"Value\":\"135-8906883-5232001\",\"Path\":\"\/\",\"Domain\":\"amazon.de\",\"Expires\":\"2023-08-31T06:34:23Z\",\"RawExpires\":\"\",\"MaxAge\":0,\"Secure\":true,\"HttpOnly\":false,\"SameSite\":0,\"Raw\":\"\",\"Unparsed\":null},{\"Name\":\"session-token\",\"Value\":\"TKDBfyb+fgEmtNsGdKpwjIAIQ3Vs3vv7LW\/2wu6MGTQj23p2Cu7mMNvnIdgL6\/WU0wKP3fuJfODj4Hsge0LD5SggSIJZb\/yrF7Y5P2RKLeAal6DjUAFIJInTlp4hKVlYs+lk3ml32RJDyvgT\/gcdkXgXh\/VCEMzrOM0V7XQNO5aCEt0MAYrjTMnBq+PXJKKMNo+FsQRQ1mR1In3bFRcAWLnCcLHQ10qJLAm3LgAo\/aG\/cgAtNfj\/FXQltPTo7k+X\",\"Path\":\"\/\",\"Domain\":\"amazon.de\",\"Expires\":\"2023-08-31T06:34:23Z\",\"RawExpires\":\"\",\"MaxAge\":0,\"Secure\":true,\"HttpOnly\":false,\"SameSite\":0,\"Raw\":\"\",\"Unparsed\":null},{\"Name\":\"at-acbde\",\"Value\":\"Atza|IwEBIHMclYwAeM2t5IydLQYbQaPMYBRi352GuW3EXD5e3p0Vy8i28XCPQ5MuMf4E4pZbMdXnESI97ivTAvbAp5bPjB84IYiwXQ-ThfBRoX5SvlnexDHbAbkIr0ERdPOwYUTIBuBgq7fRgs2wYTygD8DbT-19tSZ0GjQ1AcjTd1k2RYGBtQwRC68qGyRCCAbxuDG7TQhrBWTV-4_rX4hdSo_tkjO7\",\"Path\":\"\/\",\"Domain\":\"amazon.de\",\"Expires\":\"2023-08-31T06:34:16Z\",\"RawExpires\":\"\",\"MaxAge\":0,\"Secure\":true,\"HttpOnly\":true,\"SameSite\":0,\"Raw\":\"\",\"Unparsed\":null},{\"Name\":\"lc-acbde\",\"Value\":\"de_DE\",\"Path\":\"\/\",\"Domain\":\"amazon.de\",\"Expires\":\"2023-08-31T06:34:16Z\",\"RawExpires\":\"\",\"MaxAge\":0,\"Secure\":true,\"HttpOnly\":false,\"SameSite\":0,\"Raw\":\"\",\"Unparsed\":null},{\"Name\":\"sess-at-acbde\",\"Value\":\"duzaMr3UXcXXnO+EVbh8GLOkOKp8D3M7NTJgyPKgnQk=\",\"Path\":\"\/\",\"Domain\":\"amazon.de\",\"Expires\":\"2023-08-31T14:34:16.7492118+08:00\",\"RawExpires\":\"\",\"MaxAge\":0,\"Secure\":true,\"HttpOnly\":true,\"SameSite\":0,\"Raw\":\"\",\"Unparsed\":null},{\"Name\":\"sst-acbde\",\"Value\":\"Sst1|PQFdVhfkHQMj37YnqKqQqHt3CUq007gqJp07mphsW0VILpjyWZYxrmUDRla_gGf5VifOG7Sl4quMBY1YRYimNOgUo72ON3Yk0znqqH9-6YHP_Xg78sbjhaKr8YXNpC4cgVyCRmgh_KfXAZYGEwzMMKvZ42WKhNsnGe7nNHXHBO9rk-rnvgOvjDN-w-Km6en4Z7xSVFfFByujrGaR4AfVHr8ylyLFXrwLuoPk26qwCtDdag3zWBr1A9_YLPFyBK13IGFqw9P8gyUKZ-0z_pIv3WlstWgS3vuWUsWAxnBeBCugmds\",\"Path\":\"\/\",\"Domain\":\"amazon.de\",\"Expires\":\"2023-08-31T06:34:16Z\",\"RawExpires\":\"\",\"MaxAge\":0,\"Secure\":true,\"HttpOnly\":true,\"SameSite\":0,\"Raw\":\"\",\"Unparsed\":null},{\"Name\":\"x-acbde\",\"Value\":\"6ctykd5qmOASHHQm?a8eqobAmoduicKc1GDGL7qo12zxiafMN0bzOV5xw6kf0ZF8\",\"Path\":\"\/\",\"Domain\":\"amazon.de\",\"Expires\":\"2023-08-31T14:34:17.1670826+08:00\",\"RawExpires\":\"\",\"MaxAge\":0,\"Secure\":true,\"HttpOnly\":false,\"SameSite\":0,\"Raw\":\"\",\"Unparsed\":null}]"
	}
	}`

	//result := `{
	//"status": "success",
	//"data": {
	//"emailaddress": "causgro5429778@hxmail.top",
	//"password": "3W85b{q0F",
	//"name": "",
	//"cookie": " [{\"Name\":\"i18n-prefs\",\"Value\":\"USD\",\"Path\":\"\/\",\"Domain\":\"amazon.co.uk\",\"Expires\":\"2023-07-18T14:02:42Z\",\"RawExpires\":\"\",\"MaxAge\":0,\"Secure\":false,\"HttpOnly\":false,\"SameSite\":0,\"Raw\":\"\",\"Unparsed\":null},{\"Name\":\"session-id\",\"Value\":\"146-6973605-8355367\",\"Path\":\"\/\",\"Domain\":\"amazon.co.uk\",\"Expires\":\"2023-07-18T14:02:46Z\",\"RawExpires\":\"\",\"MaxAge\":0,\"Secure\":true,\"HttpOnly\":false,\"SameSite\":0,\"Raw\":\"\",\"Unparsed\":null},{\"Name\":\"session-id-time\",\"Value\":\"2288872966l\",\"Path\":\"\/\",\"Domain\":\"amazon.co.uk\",\"Expires\":\"2023-07-18T14:02:46Z\",\"RawExpires\":\"\",\"MaxAge\":0,\"Secure\":true,\"HttpOnly\":false,\"SameSite\":0,\"Raw\":\"\",\"Unparsed\":null},{\"Name\":\"skin\",\"Value\":\"noskin\",\"Path\":\"\/\",\"Domain\":\"amazon.co.uk\",\"Expires\":\"9999-12-31T23:59:59Z\",\"RawExpires\":\"\",\"MaxAge\":0,\"Secure\":false,\"HttpOnly\":false,\"SameSite\":0,\"Raw\":\"\",\"Unparsed\":null},{\"Name\":\"sp-cdn\",\"Value\":\"L5Z9:RU\",\"Path\":\"\/\",\"Domain\":\"amazon.co.uk\",\"Expires\":\"2023-07-18T21:54:30.3648878+08:00\",\"RawExpires\":\"\",\"MaxAge\":0,\"Secure\":true,\"HttpOnly\":true,\"SameSite\":0,\"Raw\":\"\",\"Unparsed\":null},{\"Name\":\"ubid-acbuk\",\"Value\":\"134-4491864-9249355\",\"Path\":\"\/\",\"Domain\":\"amazon.co.uk\",\"Expires\":\"2023-07-18T14:02:46Z\",\"RawExpires\":\"\",\"MaxAge\":0,\"Secure\":true,\"HttpOnly\":false,\"SameSite\":0,\"Raw\":\"\",\"Unparsed\":null},{\"Name\":\"session-token\",\"Value\":\"C7NM\/Nk+CdxqTLD8ibQgy5RfUD10UK2dZCX+sgWzDUh0lOrA0FSBVVBb+cT2b+uPn4h\/ZPO5OjSzX7BHXxOX2ufT+ijwApcSLqpD3E2OWoGLPK8MI6Njs9q0rRT09v\/g\/oEYG08GyO7hj+I1w6Dz7gSE08ulkrQRM\/E+2YofTTubaoS45NIvh2lsvMrQ53558zl+6PngkDkqhUjL9j4ZuTIevtfeWYPaoJ2zSZyaov32cFKHJckWefcbxk9CEuzy\",\"Path\":\"\/\",\"Domain\":\"amazon.co.uk\",\"Expires\":\"2023-07-18T14:02:46Z\",\"RawExpires\":\"\",\"MaxAge\":0,\"Secure\":true,\"HttpOnly\":false,\"SameSite\":0,\"Raw\":\"\",\"Unparsed\":null},{\"Name\":\"at-acbuk\",\"Value\":\"Atza|IwEBIGOzx9atSV4IhE4IQeYvbjOcq-a9sEpnTnBJ02RYaR00FGBaf_7MXDkIY9vYRaxkf8wZTkN88t6ZsiFBvLUCUGH15VhIy5w7B83A1C-ukbv-9kGUpKAS4dy0bMwOcTx-lipl-9vcoYyO3Bjfwbn_OoZASjFeTlfQj_Mo-iowCktNr5z4b6UQLyLUJ2uO5YYE6nRI60aA3Wda28hTpp6LvTxP\",\"Path\":\"\/\",\"Domain\":\"amazon.co.uk\",\"Expires\":\"2023-07-18T14:02:42Z\",\"RawExpires\":\"\",\"MaxAge\":0,\"Secure\":true,\"HttpOnly\":true,\"SameSite\":0,\"Raw\":\"\",\"Unparsed\":null},{\"Name\":\"lc-acbuk\",\"Value\":\"en_GB\",\"Path\":\"\/\",\"Domain\":\"amazon.co.uk\",\"Expires\":\"2023-07-18T14:02:42Z\",\"RawExpires\":\"\",\"MaxAge\":0,\"Secure\":true,\"HttpOnly\":false,\"SameSite\":0,\"Raw\":\"\",\"Unparsed\":null},{\"Name\":\"sess-at-acbuk\",\"Value\":\"hVMiPh\/6lmU4q4Qp+i\/suPclQVKHR80gT5+IGFi+tmw=\",\"Path\":\"\/\",\"Domain\":\"amazon.co.uk\",\"Expires\":\"2023-07-18T22:02:42.34213+08:00\",\"RawExpires\":\"\",\"MaxAge\":0,\"Secure\":true,\"HttpOnly\":true,\"SameSite\":0,\"Raw\":\"\",\"Unparsed\":null},{\"Name\":\"sst-acbuk\",\"Value\":\"Sst1|PQFY-oHmG-CeB_JA3C42az-7CUS_9XoOe_2B1TfQAOYZSMT0uyQsUK2bUMO7b7VyqcRRd5bghzGS1A5d7Nf15nYIgLNOBmj1vTx1omqX4BYXcA-9BWUYNRZuJQybz_CdY_YjJr2YWcedlK89mDmPosVX0FeKFliYq_zsb_Ey6Bw3wLQmyJephZLVnXLADvCRlFWnWwaOvckFFlGaIvt4t1mAqdgUtR5JVFALcjpICQV04ZQgB6zyhexb2SzZp44nywAQJa7nFUMMrSM9vL3W-mLVQ4jmuoqyrMTgSZjCu5C_t6w\",\"Path\":\"\/\",\"Domain\":\"amazon.co.uk\",\"Expires\":\"2023-07-18T14:02:42Z\",\"RawExpires\":\"\",\"MaxAge\":0,\"Secure\":true,\"HttpOnly\":true,\"SameSite\":0,\"Raw\":\"\",\"Unparsed\":null},{\"Name\":\"x-acbuk\",\"Value\":\"Z0pW9zOXJD0VZnhwhGzpxzxeQbiixL6Xay?E7WMO3iMP@IhTpXdqNGMN9FWJpTzs\",\"Path\":\"\/\",\"Domain\":\"amazon.co.uk\",\"Expires\":\"2023-07-18T22:02:43.0096152+08:00\",\"RawExpires\":\"\",\"MaxAge\":0,\"Secure\":true,\"HttpOnly\":false,\"SameSite\":0,\"Raw\":\"\",\"Unparsed\":null}]"
	//}
	//}`

	//result := `{
	//"status": "success",
	//"data": {
	//"emailaddress": "wallerarneson@gmail.com",
	//"password": "2KZyP8dt600",
	//"name": "",
	//"cookie": "[{\"domain\":\".amazon.com.au\",\"httpOnly\":true,\"name\":\"at-acbau\",\"path\":\"\/\",\"secure\":true,\"value\":\"Atza|IwEBIIYhEL_b9gN_I5JSElH8PbpWdiyxhp2VcRnqKC8Djs4ktjc-oJ2eXAfRiSZT1sMGd9U7RzhYMGUvim5OVfqIJRghe1N7oF5toEaET70m_hW4PKjlaAQdB-NNRxJdZoqrc7OapZd4PG4bMirwzPB-n8whqtBF3cDgrtdVROKPlw2ioS3POfqOhmJyQVZ-Ff0COYrFuRZErGzIb5RnLvvYjE8J\"},{\"domain\":\".amazon.com.au\",\"httpOnly\":false,\"name\":\"i18n-prefs\",\"path\":\"\/\",\"secure\":false,\"value\":\"USD\"},{\"domain\":\".amazon.com.au\",\"httpOnly\":false,\"name\":\"lc-acbau\",\"path\":\"\/\",\"secure\":false,\"value\":\"zh_CN\"},{\"domain\":\".amazon.com.au\",\"httpOnly\":true,\"name\":\"sess-at-acbau\",\"path\":\"\/\",\"secure\":true,\"value\":\"+hwcuJWZx3MiA8uPQ74GJDidsAHyzkux1xzqy\/igZ1Q=\"},{\"domain\":\".amazon.com.au\",\"httpOnly\":false,\"name\":\"session-id-time\",\"path\":\"\/\",\"secure\":true,\"value\":\"2082787201l\"},{\"domain\":\".amazon.com.au\",\"httpOnly\":false,\"name\":\"session-token\",\"path\":\"\/\",\"secure\":true,\"value\":\"hAXuruEZnmUVMlZdAbQrPXwlORLdDZv63Cd9bnlRJIvFYPU+v5GmkHe3GMTFHtEhegs7aUWy43BnNX4YQeLfO2YudjyBPKtjUjT3yJM7MEW6jEGC5ANkX2wKwc1Zo7IrSx8\/rroj+LW4NEyHz5kr4C7G4HbiMvhfr65PfYcNYVN2kJE8IMc6uzvtMD8rEP9z0soormRCTBnGWQowWHcnl5UdI0SBSo7\/GRuaHz5dxoSpnx8R1qlE6o7kPSBTkMLu\"},{\"domain\":\".amazon.com.au\",\"httpOnly\":false,\"name\":\"skin\",\"path\":\"\/\",\"secure\":false,\"value\":\"noskin\"},{\"domain\":\".amazon.com.au\",\"httpOnly\":true,\"name\":\"sp-cdn\",\"path\":\"\/\",\"secure\":true,\"value\":\"L5Z9:CN\"},{\"domain\":\".amazon.com.au\",\"httpOnly\":true,\"name\":\"sst-acbau\",\"path\":\"\/\",\"secure\":true,\"value\":\"Sst1|PQFPMfJ_FbQpwQFMi32M9VKcCTLDYLxMskTp-7afN9g5LAlDJxEKhRmHH32eMtakcExmUSu8L42ACMxYLAFr64gfxfNuDOtYT2qQKDy2Dj5tthAordkIk1DBTpl3aNqeXV6GYG-UxkLsUO3OjO0PjDYfdsIMk5OKWQrrOGagHIaDkzcENs-8raLSxn5CqTGPxACrJPbx4bym-AHYAfFCQQlxWB6p_oQHnvo-c_bEPUgaBaHeEKsGL1E7X-msRCDOVYSG854TT3_0aFMIZElBNT8O2IAMX_jUE7TkmJ_K7IVbZCQ\"},{\"domain\":\".amazon.com.au\",\"httpOnly\":false,\"name\":\"ubid-acbau\",\"path\":\"\/\",\"secure\":true,\"value\":\"131-6917278-7540108\"},{\"domain\":\".amazon.com.au\",\"httpOnly\":false,\"name\":\"x-acbau\",\"path\":\"\/\",\"secure\":true,\"value\":\"uceOLhj23p8JP7X@K1iLNtRPW8tldiyEDeQE06z9HiQDnIsRBF8kWITCRvfeo2iE\"},{\"domain\":\"www.amazon.com.au\",\"httpOnly\":false,\"name\":\"csm-hit\",\"path\":\"\/\",\"secure\":false,\"value\":\"tb:s-F2W0FJ4K7931M3ZADKEQ|1656859393664&t:1656859397577&adb:adblk_no\"},{\"domain\":\"www.amazon.com.au\",\"httpOnly\":false,\"name\":\"csm-sid\",\"path\":\"\/\",\"secure\":false,\"value\":\"058-0363516-0513606\"},{\"domain\":\"www.amazon.com.au\",\"httpOnly\":false,\"name\":\"x-amz-captcha-1\",\"path\":\"\/\",\"secure\":false,\"value\":\"1656865550407893\"},{\"domain\":\"www.amazon.com.au\",\"httpOnly\":false,\"name\":\"x-amz-captcha-2\",\"path\":\"\/\",\"secure\":false,\"value\":\"LijZ5cCykS+\/koVNsYC4VA==\"}]"
	//}
	//}`

	//result := `{
	//"status": "success",
	//"data": {
	//"emailaddress": "rosettewood802@gmail.com",
	//"password": "TV8g06hz53J",
	//"name": "",
	//"cookie": "[{\"domain\":\".amazon.com.au\",\"httpOnly\":true,\"name\":\"at-acbau\",\"path\":\"\/\",\"secure\":true,\"value\":\"Atza|IwEBILy-BQIo0S0hKt_jTavMNR1Ze2nEEo297F3H1H2yUKCiy0IbjJXsHY_3dn4MnWTFciM2EORb3IlfKPkItrTkpz7AJcoD4e7xwpKZ_iPY1bcABvpzuZSN4hsDpnp9Sf51-mLL9k0a_4_g2Cx-SW3Bqt69aO3HNxZxmSltNw1qQtDhuE4668dyusO1mjlD_w_p2g4TayoIhZ9q2eG17mKtbQlM\"},{\"domain\":\".amazon.com.au\",\"httpOnly\":false,\"name\":\"i18n-prefs\",\"path\":\"\/\",\"secure\":false,\"value\":\"USD\"},{\"domain\":\".amazon.com.au\",\"httpOnly\":false,\"name\":\"lc-acbau\",\"path\":\"\/\",\"secure\":false,\"value\":\"zh_CN\"},{\"domain\":\".amazon.com.au\",\"httpOnly\":true,\"name\":\"sess-at-acbau\",\"path\":\"\/\",\"secure\":true,\"value\":\"VBB2oQFUr3\/KO6p5cWuos2WJykUZzZUuEbUwwpl2\/Ao=\"},{\"domain\":\".amazon.com.au\",\"httpOnly\":false,\"name\":\"session-id-time\",\"path\":\"\/\",\"secure\":true,\"value\":\"2287552217l\"},{\"domain\":\".amazon.com.au\",\"httpOnly\":false,\"name\":\"session-token\",\"path\":\"\/\",\"secure\":true,\"value\":\"a8pZE1yudzh9afVvSA1wwuIarGcGZhdpWbxMuNE+1Mw6lfcHo1xg3ApI50rgViLY8Bwbmee6Iy8wXfp2MIlKIS0ycn2aHu08wY+zNXpbChkxYVKTiuwUUwgWFWjmfUjcljBjQ8HECmqfx5cpeBrJM+hzDlwbsP97jcVjKyN0trFBXuoBnltriXCuRmKgPs5gV2uPbiqjuMlKbQEizoOMQoLN9fyeSV1WowOTn2HjTNI3SHLHhHOQWkNdt7YjlBgo\"},{\"domain\":\".amazon.com.au\",\"httpOnly\":false,\"name\":\"skin\",\"path\":\"\/\",\"secure\":false,\"value\":\"noskin\"},{\"domain\":\".amazon.com.au\",\"httpOnly\":true,\"name\":\"sp-cdn\",\"path\":\"\/\",\"secure\":true,\"value\":\"L5Z9:CN\"},{\"domain\":\".amazon.com.au\",\"httpOnly\":true,\"name\":\"sst-acbau\",\"path\":\"\/\",\"secure\":true,\"value\":\"Sst1|PQEafRreI2MJVZLd1-Dbj2G_CeP_fyCF2qX-FceFE8KuGIGwoy-BtaUbDZthAudbkc_ssB2RUvznc1eTYT4Kb9Ii6w0BL61YUut-Vy3Q77QBcdpJOxr9zQvB952MTLQA5Oy8xE_bh39LvdIQF4IS4Uw1Kokaa8OSnwd9R2zqtBp8lKD13oI175h9UGcwr7dG6OfjftGSgULNgprAmG-iUQ9gtQCZC7yWvr3UeJHKZs-qkwToraedTOItYfrIiryPrjdSydB0HV4rPV9JzfaWiPUN5STMnvQXqJVb3xqCjjjb9UQ\"},{\"domain\":\".amazon.com.au\",\"httpOnly\":false,\"name\":\"ubid-acbau\",\"path\":\"\/\",\"secure\":true,\"value\":\"132-4779155-5077216\"},{\"domain\":\".amazon.com.au\",\"httpOnly\":false,\"name\":\"x-acbau\",\"path\":\"\/\",\"secure\":true,\"value\":\"xL9SbREfINQu5Ne4WRx?Y0xVzEPFxEr@KcFJnmgDuqbV6VA03BWsLLMcUifqWDxM\"},{\"domain\":\"www.amazon.com.au\",\"httpOnly\":false,\"name\":\"csm-hit\",\"path\":\"\/\",\"secure\":false,\"value\":\"tb:s-5N0W6B6XK9YB0PGMZDX0|1656832274731&t:1656832274731&adb:adblk_no\"},{\"domain\":\"www.amazon.com.au\",\"httpOnly\":false,\"name\":\"csm-sid\",\"path\":\"\/\",\"secure\":false,\"value\":\"072-3884869-8431294\"},{\"domain\":\"www.amazon.com.au\",\"httpOnly\":false,\"name\":\"x-amz-captcha-1\",\"path\":\"\/\",\"secure\":false,\"value\":\"1656839122722422\"},{\"domain\":\"www.amazon.com.au\",\"httpOnly\":false,\"name\":\"x-amz-captcha-2\",\"path\":\"\/\",\"secure\":false,\"value\":\"m0IcFHmvTqJJwgvKSoX8OQ==\"}]"
	//}
	//}`

	//result := `{
	//"status": "success",
	//"data": {
	//"emailaddress": "millsbesim@gmail.com",
	//"password": "77cJA25k7z",
	//"name": "",
	//"cookie": "[{\"domain\":\".amazon.com.au\",\"httpOnly\":true,\"name\":\"at-acbau\",\"path\":\"\/\",\"secure\":true,\"value\":\"Atza|IwEBIG92-EFSWiAT3S024ZrRmssUaAdTXab42wOEanJ1fyzBno5JELc6WpdaLRBJCNHfVyN9gl4AiXwBheaItBoXQ4MJoJ9XOKo2-JqAsVJcfBxyaPRnrLO8NVo0hNzrTMQLUOUX77JFphMTtBVqc8NLU-lnWFE-FECFd0kyR6mKqiVedjnuA8eL3RnIWkuoPcGfrGkei74NmziugqNTF4mH2jfs\"},{\"domain\":\".amazon.com.au\",\"httpOnly\":false,\"name\":\"i18n-prefs\",\"path\":\"\/\",\"secure\":false,\"value\":\"USD\"},{\"domain\":\".amazon.com.au\",\"httpOnly\":false,\"name\":\"lc-acbau\",\"path\":\"\/\",\"secure\":false,\"value\":\"zh_CN\"},{\"domain\":\".amazon.com.au\",\"httpOnly\":true,\"name\":\"sess-at-acbau\",\"path\":\"\/\",\"secure\":true,\"value\":\"BSbcUKrlj+sagaR6\/iOboAciWlZNdAyCiuyBX7GbAkI=\"},{\"domain\":\".amazon.com.au\",\"httpOnly\":false,\"name\":\"session-id-time\",\"path\":\"\/\",\"secure\":false,\"value\":\"2082787201l\"},{\"domain\":\".amazon.com.au\",\"httpOnly\":false,\"name\":\"session-token\",\"path\":\"\/\",\"secure\":true,\"value\":\"HdBTP7g6oTSr+ulgTC91H8x08QAIQo8jjPYHZ8hbbIUpXZYVXWM8BaCYMStbrAMUYWxWklMF6aYgN4e9cE1ySif1tx8YuC78AdHVykytMcDRpfRac1khDOXqyBfSUzoTRxu0RkU+0xcUImYfiJeS1+P3AoK\/0JfzBjRBQrFnC+vYeoHbS4781E0Xs+MLnQoCKGCw9JIrXFTErDCLDQohJhWghHEIFVgUZQxJRCrBwXtKKMNpjRUVHof\/omktse2T\"},{\"domain\":\".amazon.com.au\",\"httpOnly\":false,\"name\":\"skin\",\"path\":\"\/\",\"secure\":false,\"value\":\"noskin\"},{\"domain\":\".amazon.com.au\",\"httpOnly\":true,\"name\":\"sp-cdn\",\"path\":\"\/\",\"secure\":true,\"value\":\"L5Z9:CN\"},{\"domain\":\".amazon.com.au\",\"httpOnly\":true,\"name\":\"sst-acbau\",\"path\":\"\/\",\"secure\":true,\"value\":\"Sst1|PQGhHrHxEXTatOFecoMnfLXKCcx0yi05ZYT3fZ-IY3XOyIeei3_4xwwKlWv3ci3KeJKJ06ukVLj5gw2XaxP-QgL_P9hS8eF9vBNB2oHWXiibmOKB-x39j46KaIP9Jjv0R2U_uCsssDVG8aJ4f7Klyn7RpkKDPYobP9N6Jdp8YXteMDl3ftIQ8mTuGPLpTJGPopuoLOX9vyFsnbLNsILEAF7xeMIKmzaXr5rMZX9cUUZvVUIOC_Uf28Iv6CxwTcEAlpRg8IBkSBLmvPrpg58fPWj4Dqw0hLlTiNPNFMo0hnlNHbY\"},{\"domain\":\".amazon.com.au\",\"httpOnly\":false,\"name\":\"ubid-acbau\",\"path\":\"\/\",\"secure\":true,\"value\":\"130-1091917-8442555\"},{\"domain\":\".amazon.com.au\",\"httpOnly\":false,\"name\":\"x-acbau\",\"path\":\"\/\",\"secure\":true,\"value\":\"WJIuE1OIJ6jYZNizVTgBZIK3cKfoy78reul5D0a7WNR9xHAKKR971IlQtlznO7p0\"},{\"domain\":\"www.amazon.com.au\",\"httpOnly\":false,\"name\":\"csm-hit\",\"path\":\"\/\",\"secure\":false,\"value\":\"tb:s-CY533P4MX02K1TQNE9N5|1656831810505&t:1656831810854&adb:adblk_no\"},{\"domain\":\"www.amazon.com.au\",\"httpOnly\":false,\"name\":\"csm-sid\",\"path\":\"\/\",\"secure\":false,\"value\":\"443-7904569-4648673\"},{\"domain\":\"www.amazon.com.au\",\"httpOnly\":false,\"name\":\"x-amz-captcha-1\",\"path\":\"\/\",\"secure\":false,\"value\":\"1656838811115345\"},{\"domain\":\"www.amazon.com.au\",\"httpOnly\":false,\"name\":\"x-amz-captcha-2\",\"path\":\"\/\",\"secure\":false,\"value\":\"keM14Cu0HJguZ85Ke2EGHw==\"}]"
	//}
	//}`

	//result := `{
	//"status": "success",
	//"data": {
	//"emailaddress": "pamponsah252@gmail.com",
	//"password": "St6MA15Y751w",
	//"name": "",
	//"cookie": "[{\"domain\":\".amazon.com.au\",\"httpOnly\":true,\"name\":\"at-acbau\",\"path\":\"\/\",\"secure\":true,\"value\":\"Atza|IwEBIPgtPL1-roqbFDDGpWEO4JUjQSb1zhc4QrdszkOOPLOAS3xUdWKzRqSlJNfgKuD2lbnzKIs7Eh3vgWeWILECGCP3jH31E2avEeoOW2qEh5yGpYOaoz-ttE-BFSwq_l-7Qqg5dS6Ctb1kZL1Rhy4srG8Vo89hKJiXyfbK0AmpwmpmC6q4WybnDhrw10-6C8eR4Jk-JiDhgE4j5pojSg0tTG1d\"},{\"domain\":\".amazon.com.au\",\"httpOnly\":false,\"name\":\"i18n-prefs\",\"path\":\"\/\",\"secure\":false,\"value\":\"USD\"},{\"domain\":\".amazon.com.au\",\"httpOnly\":false,\"name\":\"lc-acbau\",\"path\":\"\/\",\"secure\":false,\"value\":\"zh_CN\"},{\"domain\":\".amazon.com.au\",\"httpOnly\":true,\"name\":\"sess-at-acbau\",\"path\":\"\/\",\"secure\":true,\"value\":\"6vAPsfuPwHtAFQycUjAHxNix4yh+Lxj8ZVrmT4+eJJw=\"},{\"domain\":\".amazon.com.au\",\"httpOnly\":false,\"name\":\"session-id-time\",\"path\":\"\/\",\"secure\":false,\"value\":\"2082787201l\"},{\"domain\":\".amazon.com.au\",\"httpOnly\":false,\"name\":\"session-token\",\"path\":\"\/\",\"secure\":true,\"value\":\"xq8QqkDPoMsvd\/GmgW4fiyFJ6qVJZ+19Nl5+g8VhYt8E3yFLW91L64FAwLgwk+tWG7jgpuDmGf3MlqXb8x8J\/0G9\/ON38VojpAzYO1HRNDuNb7S3TJ8DJOFT4fxKCb0lYiQiiWOhCVDhFNCekRfBtiQANMLZVkrqiolBQzFrALNvtXl3oGvw94L5IygZ6SIJWD8YMpaJ7VWGsmr4KUVVClwctXYQiqTsm8C9wng1iSsTOOXv1gYqCB\/stvt4QTIc\"},{\"domain\":\".amazon.com.au\",\"httpOnly\":false,\"name\":\"skin\",\"path\":\"\/\",\"secure\":false,\"value\":\"noskin\"},{\"domain\":\".amazon.com.au\",\"httpOnly\":true,\"name\":\"sp-cdn\",\"path\":\"\/\",\"secure\":true,\"value\":\"L5Z9:CN\"},{\"domain\":\".amazon.com.au\",\"httpOnly\":true,\"name\":\"sst-acbau\",\"path\":\"\/\",\"secure\":true,\"value\":\"Sst1|PQHYSKL3tULzQC6wxa70qekyCZ-awhAARh5Z_qPG7ugGhNOwlm0GKgx_VDS7ODRmf5__98uBDL_S9NN7UmPZgim59pPwai6FSbIIpA4zvNVmHrDwcP3Kf8bX2JLwXBXZCN1mAvpNhYi40LzzEP4PlPSZQMpTHBTc4NFLzU4c5ygalpxXKsAYbi4CWEtV8v3G4-u8vjsZFxhqVnaxAcfXG96neZnLcB3sknaYFEsDTO56Q0MuQ6k2WmgUhcjOQEEiVonn6OLhTRuGB1CNkUO84UCZShNbAwf1VmGh-FshCZESbrM\"},{\"domain\":\".amazon.com.au\",\"httpOnly\":false,\"name\":\"ubid-acbau\",\"path\":\"\/\",\"secure\":true,\"value\":\"132-8167618-5994303\"},{\"domain\":\".amazon.com.au\",\"httpOnly\":false,\"name\":\"x-acbau\",\"path\":\"\/\",\"secure\":true,\"value\":\"BL1x?XRq9oKDy7hyyvMZpzBQubLHzU50RBk3Q?AWBJGtdOQzcLrnf7nHM4L@AyeD\"},{\"domain\":\"www.amazon.com.au\",\"httpOnly\":false,\"name\":\"csm-hit\",\"path\":\"\/\",\"secure\":false,\"value\":\"tb:s-BFNXD5X495G4HF44W7R9|1656815545507&t:1656815546046&adb:adblk_no\"},{\"domain\":\"www.amazon.com.au\",\"httpOnly\":false,\"name\":\"csm-sid\",\"path\":\"\/\",\"secure\":false,\"value\":\"417-1876210-4331051\"},{\"domain\":\"www.amazon.com.au\",\"httpOnly\":false,\"name\":\"x-amz-captcha-1\",\"path\":\"\/\",\"secure\":false,\"value\":\"1656822667326484\"},{\"domain\":\"www.amazon.com.au\",\"httpOnly\":false,\"name\":\"x-amz-captcha-2\",\"path\":\"\/\",\"secure\":false,\"value\":\"IlcEEaB\/uYlxD0BazJCh8w==\"}]"
	//}
	//}`

	//result := `{
	//"status": "success",
	//"data": {
	//"emailaddress": "cookseymartinez@gmail.com",
	//"password": "L80N8CH80W0",
	//"name": "",
	//"cookie": "[{\"domain\":\".amazon.com.au\",\"httpOnly\":true,\"name\":\"at-acbau\",\"path\":\"\/\",\"secure\":true,\"value\":\"Atza|IwEBIBkf9NUM-nFiGhIArS941w5BeWNwQVcG251--YQfZQDR-JDl09pNRcVX7K1CVXhdmRPeNLPLf1tm5bBb1EsRyzZtblxpV5ilTau898FscZF8ox-X-CcAyfz6WeK-uyBDuxpZZbZSS9F6TeiOhoYg0Cqazz61asIZcbnIGIfPUFY9hY6qP7_OkC4-HYSVJPx3L3RvUBymHzE7oG8VypADrElK\"},{\"domain\":\".amazon.com.au\",\"httpOnly\":false,\"name\":\"i18n-prefs\",\"path\":\"\/\",\"secure\":false,\"value\":\"USD\"},{\"domain\":\".amazon.com.au\",\"httpOnly\":false,\"name\":\"lc-acbau\",\"path\":\"\/\",\"secure\":false,\"value\":\"zh_CN\"},{\"domain\":\".amazon.com.au\",\"httpOnly\":true,\"name\":\"sess-at-acbau\",\"path\":\"\/\",\"secure\":true,\"value\":\"ZeCRFFrZzG8odqFAnSTmq6ppiYs9A6sgdiTL+uNkO9k=\"},{\"domain\":\".amazon.com.au\",\"httpOnly\":false,\"name\":\"session-id-time\",\"path\":\"\/\",\"secure\":true,\"value\":\"2287551504l\"},{\"domain\":\".amazon.com.au\",\"httpOnly\":false,\"name\":\"session-token\",\"path\":\"\/\",\"secure\":true,\"value\":\"8vxggyCo442mRwcnw0M6mw8wiKbwdYgORItuCa\/\/8FCKSMVwWmnwlIAsIymKWrHEkfqoNqt+4RicwWDwMxLK\/ZlM02bCdq+BArDJsXuktueWOAOvtQtLigk+FWgTuIv+CWjQX6\/5cTmdzzhwD9pT8JSfHByzXiTrCJUCdaKWLGwQgl58jj4mynajuPko2Lt5Yc5MHc4vabymeOsAN9WsPMML8DCoq02K7A8RtM8t8gvudkpMFeN+aK+YM7U+nCgm\"},{\"domain\":\".amazon.com.au\",\"httpOnly\":false,\"name\":\"skin\",\"path\":\"\/\",\"secure\":false,\"value\":\"noskin\"},{\"domain\":\".amazon.com.au\",\"httpOnly\":true,\"name\":\"sp-cdn\",\"path\":\"\/\",\"secure\":true,\"value\":\"L5Z9:CN\"},{\"domain\":\".amazon.com.au\",\"httpOnly\":true,\"name\":\"sst-acbau\",\"path\":\"\/\",\"secure\":true,\"value\":\"Sst1|PQHj3vIkglafP6CRfYAO6q2oCXxOE9F-zkF7K5nAsNR9WmjtWkJnS3Mob3LHH9wEUkfWmhpg7xupH596MGC0ngzsNpFTGH8sUo8jL5mj6wO9TTlvwo7x2GZrIdeHtxAQa1Ax4y-ka3_H7bqiBui2KNFik-G5GQ-aooD92ujRR2sH7IYu50AlulGgUW5qEkwX0NDhw5Yf--yK3F6ZY2dSMvtu8DG9FkkUBMyzmC9yPL3Apk8c4px_wvrmkdm9g5KAHmqTCUYqK6f4kO-YQgcNtjWd3QxZrIUC2rMRgU5ecD4RILo\"},{\"domain\":\".amazon.com.au\",\"httpOnly\":false,\"name\":\"ubid-acbau\",\"path\":\"\/\",\"secure\":true,\"value\":\"131-0220310-2052522\"},{\"domain\":\".amazon.com.au\",\"httpOnly\":false,\"name\":\"x-acbau\",\"path\":\"\/\",\"secure\":true,\"value\":\"bCq7LO9@KJufzThT4ysKhBVFQGrLVgOT9HCHErSidbrGvAqQ9Hr6CM8l9HC9sWKx\"},{\"domain\":\"www.amazon.com.au\",\"httpOnly\":false,\"name\":\"csm-hit\",\"path\":\"\/\",\"secure\":false,\"value\":\"tb:s-GHA8EX4MG294F49FCMFZ|1656831548395&t:1656831550285&adb:adblk_no\"},{\"domain\":\"www.amazon.com.au\",\"httpOnly\":false,\"name\":\"csm-sid\",\"path\":\"\/\",\"secure\":false,\"value\":\"396-8561361-7862991\"},{\"domain\":\"www.amazon.com.au\",\"httpOnly\":false,\"name\":\"x-amz-captcha-1\",\"path\":\"\/\",\"secure\":false,\"value\":\"1656838413199711\"},{\"domain\":\"www.amazon.com.au\",\"httpOnly\":false,\"name\":\"x-amz-captcha-2\",\"path\":\"\/\",\"secure\":false,\"value\":\"tkgglnBGna8PXxJbklrh\/Q==\"}]"
	//}
	//}`

	//result := `{
	//"status": "success",
	//"data": {
	//"emailaddress": "mizofletcher@gmail.com",
	//"password": "7wZ0qT7V19y",
	//"name": "",
	//"cookie": "[{\"domain\":\".amazon.com.au\",\"httpOnly\":true,\"name\":\"at-acbau\",\"path\":\"\/\",\"secure\":true,\"value\":\"Atza|IwEBIMCQLKQ7FhqnFxVaVd64uBWNXupbzJL3joGMgvEKJjJWa1MR0jJ89-47zHSbtlUI3vJwsgKlFvd8W28STI24dYd1uH_YDUFbjgdK76_9Mbw68hW_W5ZoLxKeXBUzX1T5O0867Sim3Fy0q4nwMpcVdDV6hGAHnRyjCAVK5o1t_paDmHYhkMkWgE1vQyq-aYSR88HNiswuU9_q04dY36-7ikT0\"},{\"domain\":\".amazon.com.au\",\"httpOnly\":false,\"name\":\"i18n-prefs\",\"path\":\"\/\",\"secure\":false,\"value\":\"USD\"},{\"domain\":\".amazon.com.au\",\"httpOnly\":false,\"name\":\"lc-acbau\",\"path\":\"\/\",\"secure\":false,\"value\":\"zh_CN\"},{\"domain\":\".amazon.com.au\",\"httpOnly\":true,\"name\":\"sess-at-acbau\",\"path\":\"\/\",\"secure\":true,\"value\":\"N5hUxQ+EQowAlRMIGE4q9gCTX+iAqiOKmbxy6lcz70E=\"},{\"domain\":\".amazon.com.au\",\"httpOnly\":false,\"name\":\"session-id-time\",\"path\":\"\/\",\"secure\":false,\"value\":\"2082787201l\"},{\"domain\":\".amazon.com.au\",\"httpOnly\":false,\"name\":\"session-token\",\"path\":\"\/\",\"secure\":true,\"value\":\"HaOkBj8iMGvtikZJHHViyjbIQ95VTDoRVBYRXIzwS7oajjh2hn+ioBBjOkpHSotfltjcvY2ARJVlAFvQQcZaVyYxLDUjk4oYHoWQzqainqyo+a36bIOokROekpZdjhWeW896WhroOH5E+NJh50MRFN1dRAb4+38njQ\/MicHoEwP\/6sO3VMyoUlxjL16j8iN3cHH\/VQCsGBUBeqI3cXY1sD4GzE9BKJsX5gaD0E+5sTK7fvl963N9\/6Q+1bpTtsOR\"},{\"domain\":\".amazon.com.au\",\"httpOnly\":false,\"name\":\"skin\",\"path\":\"\/\",\"secure\":false,\"value\":\"noskin\"},{\"domain\":\".amazon.com.au\",\"httpOnly\":true,\"name\":\"sp-cdn\",\"path\":\"\/\",\"secure\":true,\"value\":\"L5Z9:CN\"},{\"domain\":\".amazon.com.au\",\"httpOnly\":true,\"name\":\"sst-acbau\",\"path\":\"\/\",\"secure\":true,\"value\":\"Sst1|PQGaDF48FuhoyQeJQuE45WE3CS2SNbXyGuVodAMc2PwIpVLwnUpoyFegX_L7utwCAUyiS0rfdhOy0XfW9eB-n4j9lYJCKmFZpJEiz_IbgeoecBnC7P0ybeqZlXycTWolKOExP69ahRnn0aAvpVq1LfsRDXFlVRLTybncCgpr_rxPeXTFumQQk11t58Ngk3DfJuwBvjs1UMGMZXpgM-DJeJ2nyTQanKBXjC7dE94UCLd0fD8_qRLJi7D_xLOZOt7gVLED0O9Rr1BJpqb1lK10tXcKtJh3X5cxAMCpASIYMEheP1I\"},{\"domain\":\".amazon.com.au\",\"httpOnly\":false,\"name\":\"ubid-acbau\",\"path\":\"\/\",\"secure\":true,\"value\":\"130-8726822-4662333\"},{\"domain\":\".amazon.com.au\",\"httpOnly\":false,\"name\":\"x-acbau\",\"path\":\"\/\",\"secure\":true,\"value\":\"bgdPs2DyAsN2C2lSXwLgIB7587GXmt@FW4bbjNwQ78EjJBGqgR@e7qKu1l51EFCM\"},{\"domain\":\"www.amazon.com.au\",\"httpOnly\":false,\"name\":\"csm-hit\",\"path\":\"\/\",\"secure\":false,\"value\":\"tb:s-KS1XBJBBZMW4MJV7YSM0|1656816119084&t:1656816119349&adb:adblk_no\"},{\"domain\":\"www.amazon.com.au\",\"httpOnly\":false,\"name\":\"csm-sid\",\"path\":\"\/\",\"secure\":false,\"value\":\"154-4009878-9411880\"},{\"domain\":\"www.amazon.com.au\",\"httpOnly\":false,\"name\":\"x-amz-captcha-1\",\"path\":\"\/\",\"secure\":false,\"value\":\"1656822968887621\"},{\"domain\":\"www.amazon.com.au\",\"httpOnly\":false,\"name\":\"x-amz-captcha-2\",\"path\":\"\/\",\"secure\":false,\"value\":\"XH697+4B79ejVjUgMWnwxw==\"}]"
	//}
	//}`
	//
	//result := `{
	//"status": "success",
	//"data": {
	//"emailaddress": "mokhtaracevedo@gmail.com",
	//"password": "U4I48N8Yp22r",
	//"name": "",
	//"cookie": "[{\"domain\":\".amazon.com.au\",\"httpOnly\":true,\"name\":\"at-acbau\",\"path\":\"\/\",\"secure\":true,\"value\":\"Atza|IwEBIAvbCbOni6Ptn2THdgB019sRNFgqrNlF-qAq2yoc3iLI9KdrR9TcGsqutcp_l84XEhYiF80gOiLY94MGK51WBBsf65Dby1mgO59kxZdAAbG0Y9_eLYtBv8qVIJrxtrVm9VF7XN1q2EIq9nPOuN60juf2fGVdbW7Kg5hpCptN40UknSrMVMt0XFDhf8K4vV5X5ZZCpmIxDsKGZPSHGSjWXY9m\"},{\"domain\":\".amazon.com.au\",\"httpOnly\":false,\"name\":\"i18n-prefs\",\"path\":\"\/\",\"secure\":false,\"value\":\"USD\"},{\"domain\":\".amazon.com.au\",\"httpOnly\":false,\"name\":\"lc-acbau\",\"path\":\"\/\",\"secure\":false,\"value\":\"zh_CN\"},{\"domain\":\".amazon.com.au\",\"httpOnly\":true,\"name\":\"sess-at-acbau\",\"path\":\"\/\",\"secure\":true,\"value\":\"UEx515bRdVfUSQD5tCwoQuSQ\/RzPIfHVvK4doZ9jc0M=\"},{\"domain\":\".amazon.com.au\",\"httpOnly\":false,\"name\":\"session-id-time\",\"path\":\"\/\",\"secure\":true,\"value\":\"2287540105l\"},{\"domain\":\".amazon.com.au\",\"httpOnly\":false,\"name\":\"session-token\",\"path\":\"\/\",\"secure\":true,\"value\":\"u8ybvHHc\/3MMWvqYLcj15Cw9sE2\/NNec9AWNPVru+8LO3CmJUmPGpxa4cC2VrEGvf+o7eq9RsfNz5J1LJz77yQA3AYjC+OSVdSbdw4hnSiYOQ48VGA938143jG4oAeT+LMDVS\/QWHycxPth53J45ZGcxOqk6FCQsCQRdfL31Thhh0wv1futMEm40JKOUpQk40Cvj6SNyTbj+uHB0Yrwd6\/8kntRKSoCbAyLs9DH49ooPbNBwzoWzH32XB8JqDhMi\"},{\"domain\":\".amazon.com.au\",\"httpOnly\":false,\"name\":\"skin\",\"path\":\"\/\",\"secure\":false,\"value\":\"noskin\"},{\"domain\":\".amazon.com.au\",\"httpOnly\":true,\"name\":\"sp-cdn\",\"path\":\"\/\",\"secure\":true,\"value\":\"L5Z9:CN\"},{\"domain\":\".amazon.com.au\",\"httpOnly\":true,\"name\":\"sst-acbau\",\"path\":\"\/\",\"secure\":true,\"value\":\"Sst1|PQFqrA39IIvMxrRld1laiqCTCeboS8jFyxk1gM-4jnKEmCiEtnepxbQgtxFME6Rrvfqup5hsWWLlHYg164csEfhSVW4rXk2eipkHxk1qQyIbowUma3yJ1UH0vVDs-ObEXlCG_1jDtAyXDXeltoU1OIRQVtlR4j-CJptEMAsuZrl1PLfe4HZ9ka4YFThePjfL0mMboMwzol9QKdFRyvNh5cgJgKEnJJ-V2NmWoJWaCzwMg9IrMAFjAqfIqscpowXfwDIRLAg-lzcusTZVgOqUYoS1qnPC4kutxsfTcunA3OCYkAU\"},{\"domain\":\".amazon.com.au\",\"httpOnly\":false,\"name\":\"ubid-acbau\",\"path\":\"\/\",\"secure\":true,\"value\":\"135-1621937-5558312\"},{\"domain\":\".amazon.com.au\",\"httpOnly\":false,\"name\":\"x-acbau\",\"path\":\"\/\",\"secure\":true,\"value\":\"Y38b7K7p4LyieweSBfnkmDSHGHzWWVW1NyFfhEFco5PIiaPeXPI?1yV4z?xSPrhZ\"},{\"domain\":\"www.amazon.com.au\",\"httpOnly\":false,\"name\":\"csm-hit\",\"path\":\"\/\",\"secure\":false,\"value\":\"tb:s-3VN3Y91VQEE8SR6VXGHC|1656820118569&t:1656820118571&adb:adblk_no\"},{\"domain\":\"www.amazon.com.au\",\"httpOnly\":false,\"name\":\"csm-sid\",\"path\":\"\/\",\"secure\":false,\"value\":\"042-0822442-9760494\"},{\"domain\":\"www.amazon.com.au\",\"httpOnly\":false,\"name\":\"x-amz-captcha-1\",\"path\":\"\/\",\"secure\":false,\"value\":\"1656826341028138\"},{\"domain\":\"www.amazon.com.au\",\"httpOnly\":false,\"name\":\"x-amz-captcha-2\",\"path\":\"\/\",\"secure\":false,\"value\":\"bTsQeE06cHjFSLr9DSVjzg==\"}]"
	//}
	//}`

	//result := `{
	//"status": "success",
	//"data": {
	//"emailaddress": "sawyerlucci@gmail.com",
	//"password": "1bYIX0219N",
	//"name": "",
	//"cookie": "[{\"domain\":\".amazon.ca\",\"httpOnly\":true,\"name\":\"at-acbca\",\"path\":\"\/\",\"secure\":true,\"value\":\"Atza|IwEBID6XevHgXYVu7DP0mc9ch-_U_DcYOFUVR9ICvSIqDkVtQ--hghbrmoKTWYEhQOsBVmUy-k_JE9Goea1Yyip72RszgrcSIv73brsbSD3Ukbgvd_pSeNbpHj4m3Ah3KMdbEW0qVKBOzwPg_-Cu1Q39i9O7SOVfVZM-I_5pI_a99ZOLJbvX-BG9vyYB0w_IwxTHrZPh0Ci0b_Il7Ynq1jNn9FBo\"},{\"domain\":\".amazon.ca\",\"httpOnly\":false,\"name\":\"i18n-prefs\",\"path\":\"\/\",\"secure\":false,\"value\":\"USD\"},{\"domain\":\".amazon.ca\",\"httpOnly\":false,\"name\":\"lc-acbca\",\"path\":\"\/\",\"secure\":false,\"value\":\"zh_CN\"},{\"domain\":\".amazon.ca\",\"httpOnly\":false,\"name\":\"s_c27\",\"path\":\"\/\",\"secure\":false,\"value\":\"GLSBYFE9MGKKQXXM\"},{\"domain\":\".amazon.ca\",\"httpOnly\":false,\"name\":\"s_cc\",\"path\":\"\/\",\"secure\":false,\"value\":\"true\"},{\"domain\":\".amazon.ca\",\"httpOnly\":false,\"name\":\"s_dslv\",\"path\":\"\/\",\"secure\":false,\"value\":\"1656792581583\"},{\"domain\":\".amazon.ca\",\"httpOnly\":false,\"name\":\"s_dslv_s\",\"path\":\"\/\",\"secure\":false,\"value\":\"First%20Visit\"},{\"domain\":\".amazon.ca\",\"httpOnly\":false,\"name\":\"s_invisit\",\"path\":\"\/\",\"secure\":false,\"value\":\"true\"},{\"domain\":\".amazon.ca\",\"httpOnly\":false,\"name\":\"s_nr\",\"path\":\"\/\",\"secure\":false,\"value\":\"1656792581566-New\"},{\"domain\":\".amazon.ca\",\"httpOnly\":false,\"name\":\"s_ppv\",\"path\":\"\/\",\"secure\":false,\"value\":\"9\"},{\"domain\":\".amazon.ca\",\"httpOnly\":false,\"name\":\"s_sq\",\"path\":\"\/\",\"secure\":false,\"value\":\"%5B%5BB%5D%5D\"},{\"domain\":\".amazon.ca\",\"httpOnly\":false,\"name\":\"s_vnum\",\"path\":\"\/\",\"secure\":false,\"value\":\"2088792406318%26vn%3D1\"},{\"domain\":\".amazon.ca\",\"httpOnly\":true,\"name\":\"sess-at-acbca\",\"path\":\"\/\",\"secure\":true,\"value\":\"Xb9891u40mp4Qi+yC1T6XP\/CwB0wUnuFHglq\/pBW748=\"},{\"domain\":\".amazon.ca\",\"httpOnly\":false,\"name\":\"session-id\",\"path\":\"\/\",\"secure\":true,\"value\":\"146-4682236-5844329\"},{\"domain\":\".amazon.ca\",\"httpOnly\":false,\"name\":\"session-id-time\",\"path\":\"\/\",\"secure\":false,\"value\":\"2082787201l\"},{\"domain\":\".amazon.ca\",\"httpOnly\":false,\"name\":\"session-token\",\"path\":\"\/\",\"secure\":true,\"value\":\"Qdt3RiEdEPsDYMHomjZUMVx6bi72RznWkUqiGbtSxmw6rmfcUVF3HjjDgys\/Y8DMNqETCieWIu1Rv1kzDlcxPs8gKODDqm1CRpQCDyMZXYTBmCKlGbZxnzLplg\/eK+xpvhmgIoBbu2g2caRoFOhPztPg4nV\/cEIkj4OVGJ+ncMERipb13Qxd5O6+yKbpZZPS9k897qdZ4MVCkLGDwLJoJ1mNyXDolgMk3SyaG4FwfJOMXCUAdw+pxZK+Gk1qlhRM\"},{\"domain\":\".amazon.ca\",\"httpOnly\":true,\"name\":\"sp-cdn\",\"path\":\"\/\",\"secure\":true,\"value\":\"L5Z9:CN\"},{\"domain\":\".amazon.ca\",\"httpOnly\":true,\"name\":\"sst-acbca\",\"path\":\"\/\",\"secure\":true,\"value\":\"Sst1|PQE5MKWK4OrSyaD098FvRHqbCd0u3EyammhJGzr7am0tsXu9D6cFy6AL7B2lR_qM0LIbev5TK2rxTKOWEikWr4RNKXUqB0uIIOsPbmdX8Fzf43Gxkcn4poeun_EqcyY3oDNdod-97cMlaQv8X3l3JGBLGdcoMXJ9Ma5-Gr4WXXp1bY_v4I0DioFUusl5Qgj_4MVq9fouXSmL8pG8O_OlO4NsrFE9kFPPlP_loB2F5t0po58ettPIq9r0dax94UftWx8V84BEpye1ookpanwd3rmuOT7jPw9ZmSIbULv5zygEkHE\"},{\"domain\":\".amazon.ca\",\"httpOnly\":false,\"name\":\"ubid-acbca\",\"path\":\"\/\",\"secure\":true,\"value\":\"135-0784842-7189463\"},{\"domain\":\".amazon.ca\",\"httpOnly\":false,\"name\":\"x-acbca\",\"path\":\"\/\",\"secure\":true,\"value\":\"Fzh7DXDB67xGmJby@uOVOe1AR1C7fwDfbwNF8pq5uKw3VWjkPVLj0@xrk0gZTDjs\"},{\"domain\":\"www.amazon.ca\",\"httpOnly\":false,\"name\":\"csm-hit\",\"path\":\"\/\",\"secure\":false,\"value\":\"tb:s-09BS4E2E8F607J4BM974|1656792586584&t:1656792587331&adb:adblk_no\"},{\"domain\":\"www.amazon.ca\",\"httpOnly\":false,\"name\":\"csm-sid\",\"path\":\"\/\",\"secure\":false,\"value\":\"797-4488661-5679979\"}]"
	//}
	//}`

	if gjson.Get(result, "status").String() != "success" {
		return nil, fmt.Errorf("无法获取cookies")
	}

	err = json.Unmarshal([]byte(gjson.Get(result, "data").String()), &user)
	json.Unmarshal([]byte(user.Cookies), &user.HttpCookies)
	//init the loc
	//loc, _ := time.LoadLocation("America/New_York")

	//set timezone,
	//now := time.Now().In(loc)
	for _, c := range user.HttpCookies {
		//c.Expires = time.Unix(now.AddDate(1, 0, 0).Add(4 * time.Hour).Unix(), 0)
		//c.Expires = time.Unix(now.Add(4 * time.Hour).Unix(), 0)
		c.MaxAge = 31536000
	}

	return
}

func (s *Api) GetRegisterAccount(number string) (user *RegisterAccount, err error) {
	postData, _ := json.Marshal(map[string]string{
		"action":  "getRegisterInfo",
		"number":  number,
		"version": "4.8",
	})

	result := s.request(systemEndpoint, "post", nil, map[string]string{
		"data": string(postData),
	})

	if gjson.Get(result, "status").String() != "success" {
		return nil, fmt.Errorf("无法获取注册的账户")
	}

	err = json.Unmarshal([]byte(gjson.Get(result, "data").String()), &user)

	return
}

func (s *Api) FeedbackRegisterAccount(name, email, password string, cookies []byte) {
	postData, _ := json.Marshal(map[string]string{
		"action":   "globalAccount",
		"group":    "add_cart",
		"password": password,
		"code":     "us",
		"email":    email,
		"name":     name,
		"cookies":  string(cookies),
		"version":  "4.8",
		"status":   "10",
	})

	s.request(systemEndpoint, "post", nil, map[string]string{
		"data": string(postData),
	})

	return
}

func (s *Api) GetGmailCookies(code, number string) (user *User, err error) {
	postData, _ := json.Marshal(map[string]string{
		"action":  "getGmailCookie",
		"code":    code,
		"number":  number,
		"version": "4.8",
	})

	result := s.request(systemEndpoint, "post", nil, map[string]string{
		"data": string(postData),
	})

	if gjson.Get(result, "status").String() != "success" {
		return nil, fmt.Errorf("无法获取cookies")
	}

	err = json.Unmarshal([]byte(gjson.Get(result, "data").String()), &user)

	json.Unmarshal([]byte(user.Cookies), &user.HttpCookies)
	for _, c := range user.HttpCookies {
		c.MaxAge = 7200
	}

	return
}

func (s *Api) GetCrawlerCookies() (user *User, err error) {
	result := `{
   "status": "success",
   "data": {
      "emailaddress": "rathjen0216875@ytmail.top",
      "password": "bxp{2046w=o",
      "name": "",
      "cookie": "[{\"domain\":\".amazon.de\",\"secure\":true,\"value\":\"noskin\",\"expiry\":2182368942,\"path\":\"\\\/\",\"httpOnly\":true,\"name\":\"skin\"},{\"domain\":\".amazon.de\",\"secure\":true,\"value\":\"143-6372469-3427840\",\"expiry\":2182368942,\"path\":\"\\\/\",\"httpOnly\":true,\"name\":\"session-id\"},{\"domain\":\".amazon.de\",\"secure\":true,\"value\":\"2082787201l\",\"expiry\":2182368942,\"path\":\"\\\/\",\"httpOnly\":true,\"name\":\"session-id-time\"},{\"domain\":\".amazon.de\",\"secure\":true,\"value\":\"USD\",\"expiry\":2182368942,\"path\":\"\\\/\",\"httpOnly\":true,\"name\":\"i18n-prefs\"},{\"domain\":\".amazon.de\",\"secure\":true,\"value\":\"11oO6X55x\\\/+xfU3iHUCuouW\\\/XJYeAhAkT2y0iW\\\/45OeHx\\\/mcbF1idj7rzsJAvKz7gVusFfheizG97aZDf866tuwacNvQ4la9AjCmhDvp\\\/\\\/ndg7GHKkWRobcVTOkg66EKUe\\\/zUf2OIJdc=\",\"expiry\":2182368942,\"path\":\"\\\/\",\"httpOnly\":true,\"name\":\"x-wl-uid\"},{\"domain\":\".amazon.de\",\"secure\":true,\"value\":\"135-6882951-2108813\",\"expiry\":2182368942,\"path\":\"\\\/\",\"httpOnly\":true,\"name\":\"ubid-acbde\"},{\"domain\":\".amazon.de\",\"secure\":true,\"value\":\"7THSXcrAMlSXiET0y4s53i\\\/kywkEK+33t5J2Ndbin\\\/fWLysdicdwy\\\/GfTwj0NM3LjZ0PzuCLGHrk\\\/z3+uejyMb86l1vjcBToi67dBPGWRqVMhpg1ZU\\\/+mFoee6zce4F0e+LneLmGs3gm1WZOOZIMdrCkfABsLs\\\/xjaJZsgCiLu+BLded3vtPFbmj1Y3gPYwoojPY2nGRqPQ+BdTPwFozwftJz8Le5AMWjlnBqbUBSpLdCka\\\/SVofEKSt1d0h1IyNPNXYLyi2R4qOMeu+iXFhdw==\",\"expiry\":2182368942,\"path\":\"\\\/\",\"httpOnly\":true,\"name\":\"session-token\"},{\"domain\":\".amazon.de\",\"secure\":true,\"value\":\"1\",\"expiry\":2182368942,\"path\":\"\\\/\",\"httpOnly\":true,\"name\":\"a-ogbcbff\"},{\"domain\":\".amazon.de\",\"secure\":true,\"value\":\"fRKtHJJQAkxoGZfudRy@TwF1Uz7FqeKYXzoMAiTa0u6SDV4ZeOCYDGLBQie1PIwO\",\"expiry\":2182368942,\"path\":\"\\\/\",\"httpOnly\":true,\"name\":\"x-acbde\"},{\"domain\":\".amazon.de\",\"secure\":true,\"value\":\"Atza|IwEBIFfAipo4kP9JOwbsyZleB914APHvGT0ukvs8umglhSxBGQjbETFzbXsH9GvfcZxS9TtSYvTxwbeDfeIWr4CjcBQBcfPoRw04o517k-jrlJVx1XO6aeVJlDSnIKxrwx1wb5mEAXptWVjPHXDI3w1__qgU3z97UPUAgX_klqV__hoOnKBBBE5PwF6d-tD7ZOeJV3nOZH_9z11IZN7TR-BrekN6fy8HgWSW3ATlhvAf03WiDVwDfQmaARd7XbxsSOiQJgWXvyoFZER_Iu52eDw17lB9nGybUWCQGR1Z-LolT0R6aM6HH5DPnSgMbJ2WIwlYxZ9a5qHpytrDziW861pFGIXhiXQt4ogaKjTuOdxDkHgELFhZ4cRO5ZIJoqfh1HnXmGiHdXvrZUf-Ly4HuprnHSPu\",\"expiry\":2182368942,\"path\":\"\\\/\",\"httpOnly\":true,\"name\":\"at-acbde\"},{\"domain\":\".amazon.de\",\"secure\":true,\"value\":\"02FFpAhNkMe\\\/7agkp8n8N9YBR12zQoiPFUXnvT46uyM=\",\"expiry\":2182368942,\"path\":\"\\\/\",\"httpOnly\":true,\"name\":\"sess-at-acbde\"},{\"domain\":\".amazon.de\",\"secure\":true,\"value\":\"Sst1|PQGhOpbiEghBrsdfFsgcXNS0C5pw7UCslHmPto1zxyeBorQ1h5LxZ0vwS1gyH_Opt-_j4wezrn5McsR6EwXUWTo902G_GBsm1h8r-M4chD1UXp7jZ7Clb-AY7Bgj9BIy0k9qMfAet5zQd2gIGoYfJzD6KKfzQvr2ikk8VVr6DRx2tEN74n6zg0bgDP8oUD8j8OKZeckVqny8iiQJDvdqOPNu57a-ePd2MKrknidCoPF48S1lcnDp73f0kqUpRmeSGE1Rtveb-m5YEpoobWH_u1ZB1IyK16W03gXJcJ1zLvnMcAyOhRt6xivMWZw1exrdgluRDRxztYTxECvIWA-od-dR4A\",\"expiry\":2182368942,\"path\":\"\\\/\",\"httpOnly\":true,\"name\":\"sst-acbde\"},{\"domain\":\".amazon.de\",\"secure\":true,\"value\":\"tb:s-25K4IO3K60P23Y321964|1551648913948&t:1551649011948&adb:adblk_no\",\"expiry\":2182368942,\"path\":\"\\\/\",\"httpOnly\":true,\"name\":\"csm-hit\"}]"
   }
}`

	if gjson.Get(result, "status").String() != "success" {
		return nil, fmt.Errorf("无法获取cookies")
	}

	err = json.Unmarshal([]byte(gjson.Get(result, "data").String()), &user)

	json.Unmarshal([]byte(user.Cookies), &user.HttpCookies)
	for _, c := range user.HttpCookies {
		c.MaxAge = 7200
	}

	return
}

func (s *Api) GetEmailOTP(email string) string {
	result := s.request("http://47.254.88.255/mail/getVerifyCode.php", "post", nil, map[string]string{
		"email": email,
	})

	return gjson.Get(result, "code").String()
}

func (s *Api) ConvertGif(img string) string {
	newImage := s.request("http://121.40.28.56/topamazon/ffmpeg.php", "post", nil, map[string]string{
		"data": img,
	})

	return newImage
}

func (s *Api) RollBackTask(number string, taskIds []string) {
	postData, _ := json.Marshal(map[string]string{
		"action":   "rollbackTask",
		"number":   number,
		"task_ids": strings.Join(taskIds, ","),
		"version":  "4.9",
	})

	result := s.request(systemEndpoint, "post", nil, map[string]string{
		"data": string(postData),
	})

	fmt.Println(result)
}

func (s *Api) GetZipCode(code, number string) (zipCode *ZipCode, err error) {

	postData, _ := json.Marshal(map[string]string{
		"action":  "getZipCode",
		"code":    code,
		"number":  number,
		"version": "4.8",
	})

	result := s.request(systemEndpoint, "post", nil, map[string]string{
		"data": string(postData),
	})

	//result := s.request(systemEndpoint, "post", nil, map[string]string{
	//	"action": "getZipCode",
	//	//"code":    code,
	//	"number":  "1",
	//	"version": "4.7",
	//})

	err = json.Unmarshal([]byte(gjson.Get(result, "data").String()), &zipCode)
	return

}

func (s *Api) GetShippingAddress(code, number string) (address *Address, err error) {

	postData, _ := json.Marshal(map[string]string{
		"action":  "getAddress",
		"code":    code,
		"number":  number,
		"version": "4.8",
	})

	result := s.request(systemEndpoint, "post", nil, map[string]string{
		"data": string(postData),
	})

	err = json.Unmarshal([]byte(gjson.Get(result, "data").String()), &address)

	return

}

func (s *Api) GetCreditCard(code, number string) (creditCard *CreditCard, err error) {
	postData, _ := json.Marshal(map[string]string{
		"action":  "getCreditCard",
		"code":    code,
		"number":  number,
		"version": "4.8",
	})

	result := s.request(systemEndpoint, "post", nil, map[string]string{
		"data": string(postData),
	})

	err = json.Unmarshal([]byte(gjson.Get(result, "data").String()), &creditCard)

	return
}

func (s *Api) GetCheque(code, number string) (cheque *Cheque, err error) {
	postData, _ := json.Marshal(map[string]string{
		"action":  "getCheque",
		"code":    code,
		"number":  number,
		"version": "4.8",
	})

	result := s.request(systemEndpoint, "post", nil, map[string]string{
		"data": string(postData),
	})

	err = json.Unmarshal([]byte(gjson.Get(result, "data").String()), &cheque)

	return
}

func (s *Api) GetAsin() string {
	result := s.request(`http://47.104.132.226/asinapi/?d=Asin.get`, "post", nil, nil)
	return result
}

func (s *Api) AsinFeedBack(asin, rating, brand, title string) {
	postData, _ := json.Marshal(map[string]string{
		"asin":         asin,
		"rating":       rating,
		"review_count": "0",
		"brand":        brand,
		"title":        title})

	_ = s.request(`http://47.104.132.226/asinapi/?d=Asin.feedback`, "post", nil, map[string]string{
		"data": string(postData),
	})

	return
}

func (s *Api) FeedBackCreditCard(cardNumber, code string) {
	postData, _ := json.Marshal(map[string]string{
		"action":  "validCreditCardFeedBack",
		"code":    code,
		"card_no": cardNumber,
		"version": "4.8"})

	_ = s.request(systemEndpoint, "post", nil, map[string]string{
		"data": string(postData),
	})

	return
}

func (s *Api) FeedBack(task_ids string, number string) {
	postData, _ := json.Marshal(map[string]string{
		"action":       "loginAddCartTaskFeedBack",
		"number":       number,
		"task_ids":     task_ids,
		"email":        "",
		"amz_order_id": "",
		"version":      "4.9",
	})
	fmt.Println(string(postData))

	_ = s.request(systemEndpoint, "post", nil, map[string]string{
		"data": string(postData),
	})

	return
}

func (s *Api) DownloadCaptchaImage(urlstr string) (b64image string, rawImage []byte, imageType string, err error) {
	ext := path.Ext(urlstr)
	if strings.Contains(ext, ".gif") {
		imageType = "gif"
	} else if strings.Contains(ext, ".jpg") {
		imageType = "jpg"
	}

	resp, err := s.client.R().Get(urlstr)
	if err != nil {
		return "", nil, "", fmt.Errorf("无法下载图片")
	}

	dist := make([]byte, base64.StdEncoding.EncodedLen(len(resp.Body())))
	base64.StdEncoding.Encode(dist, resp.Body())
	ioutil.WriteFile("captcha.jpg", resp.Body(), 0644)
	return string(dist), resp.Body(), imageType, err
}

func (s *Api) RecognitionCaptchaImage(image string) (string, string, error) {
	resp, _ := s.client.R().SetFormData(map[string]string{
		"username":    captchaUsername,
		"password":    captchaPassword,
		"captchaData": image,
		"captchaType": strconv.Itoa(captchaType),
	}).Post(captchaRecognitionEndpoint)

	result := resp.String()
	if gjson.Get(result, "code").Int() == 0 {
		captchaId := gjson.Get(result, "data.captchaId").String()
		recognition := gjson.Get(result, "data.recognition").String()
		return captchaId, recognition, nil
	}

	return "", "", fmt.Errorf("验证码识别错误")
}

func (s *Api) CaptchaReportImage(captchaId string) {
	for {
		resp, _ := s.client.R().SetFormData(map[string]string{
			"username":    captchaUsername,
			"password":    captchaPassword,
			"captchaId":   captchaId,
			"captchaType": strconv.Itoa(captchaType),
		}).Post(captchaReportEndpoint)

		result := resp.String()
		fmt.Println(result)
		if gjson.Get(result, "code").Int() == 0 {
			return
		} else {
			time.Sleep(5 * time.Second)
		}
	}
}

func (s *Api) GetBingAddress(code string) (address BingAddress, err error) {
	//https://cn.bing.com/api/v6/Places/AutoSuggest?q=55&appid=F2DD9E3AA45F7512D9C6CA9A150CBA7F76556B81&mv8cid=undefined&mv8ig=121EA2771A754C9CB51BE40CD8EC41F5&localMapView=&localcircularview=31.821500778198242,117.2300033569336,100&count=10&structuredaddress=true&types=place,address,business&setmkt=zh-CN&setlang=en-US&histcnt=&favcnt=&constraints=country:GB&clientid=0C4D46F025D161F9222D575D24036006
	queryData := map[string]string{
		"q":                 "55",
		"appid":             "F2DD9E3AA45F7512D9C6CA9A150CBA7F76556B81",
		"mv8cid":            "undefined",
		"mv8ig":             "121EA2771A754C9CB51BE40CD8EC41F5",
		"localMapView":      "",
		"localcircularview": "31.821500778198242,117.2300033569336,100",
		"count":             "10",
		"structuredaddress": "true",
		"types":             "place,address,business",
		"setmkt":            "zh-CN",
		"setlang":           "en-US",
		"histcnt":           "",
		"favcnt":            "",
		"constraints":       fmt.Sprintf("country:%s", code),
		"clientid":          "0C4D46F025D161F9222D575D24036006",
	}

	resp := s.request("https://cn.bing.com/api/v6/Places/AutoSuggest", "get", queryData, nil)

	count := len(gjson.Get(resp, "value").Array())
	index := RandomInt(0, count)
	var addressJson string
	switch code {
	case "de", "ca", "fr":
		addressJson = gjson.Get(resp, fmt.Sprintf("value.%d.address", index)).String()
	default:
		addressJson = gjson.Get(resp, fmt.Sprintf("value.%d", index)).String()
	}

	err = json.Unmarshal([]byte(addressJson), &address)

	return
}

func (s *Api) SendLogToServer(number, data, email, status string) {
	postData, _ := json.Marshal(map[string]string{
		"action":  "dbLog",
		"number":  number,
		"data":    data,
		"email":   email,
		"status":  status,
		"version": "4.8",
	})

	_ = s.request(systemEndpoint, "post", nil, map[string]string{
		"data": string(postData),
	})
}

func (s *Api) GetProxyIp(key string) (proxyInfo ProxyInfo, err error) {
	query := map[string]string{
		"Key": key,
	}

	result := s.request(`https://proxy.qg.net/allocate`, "get", query, nil)

	err = json.Unmarshal([]byte(result), &proxyInfo)
	if err != nil {
		return ProxyInfo{}, err
	}

	return proxyInfo, err
}
